Releases: gemgento/rails_script
Releases · gemgento/rails_script
v0.4.0
Added a to_javascript helper that takes a hash merges it with @to_javascript. This allows to_javascript data to be added from multiple points throughout the application.
v0.3.2
Fixed a bug with clearing window and document event handler when Turbolinks fetches a new page.
v0.3.1
Fixed the missing method error in base.js
v0.3.0
Remove the jQuery dependency. Moved the eventHandler removal to Global and include some documentation. Syntax changes to the templates.
v0.2.0
Make Rails variables available in JavaScript by defining an @to_javascript
instance variable. This variable should be a hash defining all of the variables you want to make available via Utility.RailsVars
v0.1.4
Only document/window events with a blank namespace, application specific, are removed when changing pages.
v0.1.3
Event handlers on window and document are removed before page change.
v0.1.2
Add .keep files to the elements/ and utilities/ folders. This makes sure they will be added to the repository and prevent require_tree errors with sprockets.
v0.1.1
Element and Utility are in their own namespace.
v0.1.0
Added Utilities and Elements