Initjs: Provides a great javascript structure for your application
Init.js is a Ruby Gem that helps run your javascript only in a page that its necessary.
Along with Rails, you can make a good structure for your javascript. A good example is using the Backbone.js, separating each page into a view of the Backbone.js.
Works fine with Turbolinks from Rails.
See more here:
https://github.com/josemarluedke/initjs
Written by Josemar Luedke
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#