Skip to content

Releases: gemgento/rails_script

v0.4.0

29 Oct 17:04
Compare
Choose a tag to compare

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

24 Oct 15:55
Compare
Choose a tag to compare

Fixed a bug with clearing window and document event handler when Turbolinks fetches a new page.

v0.3.1

17 Oct 19:00
Compare
Choose a tag to compare

Fixed the missing method error in base.js

v0.3.0

08 Oct 14:10
Compare
Choose a tag to compare

Remove the jQuery dependency. Moved the eventHandler removal to Global and include some documentation. Syntax changes to the templates.

v0.2.0

07 Oct 20:37
Compare
Choose a tag to compare

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

07 Oct 17:41
Compare
Choose a tag to compare

Only document/window events with a blank namespace, application specific, are removed when changing pages.

v0.1.3

06 Oct 20:58
Compare
Choose a tag to compare

Event handlers on window and document are removed before page change.

v0.1.2

23 Sep 19:01
Compare
Choose a tag to compare

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

15 Sep 20:10
Compare
Choose a tag to compare

Element and Utility are in their own namespace.

v0.1.0

15 Sep 19:28
Compare
Choose a tag to compare

Added Utilities and Elements