ankane / chartkick

Create beautiful JavaScript charts with one line of Ruby
https://chartkick.com
MIT License
6.33k stars 565 forks source link

Handle turbolinks renamed to turbo #570

Closed compumike closed 2 years ago

compumike commented 3 years ago

Turbolinks is now Turbo. Attribute and event names have changed turbolinks -> turbo. This PR remains backwards-compatible with the old names, but adds compatibility for the new names as well.

The included JavaScript changes are also in a PR on chartkick.js: https://github.com/ankane/chartkick.js/pull/129

ankane commented 3 years ago

Hey @compumike, thanks for the PRs! Will test them out when Turbo is out of beta/pre-release.

noelrappin commented 2 years ago

FWIW, Turbo is out of beta and this should be evaluated. Thanks!

ankane commented 2 years ago

Works great, thanks @compumike!