Last Updated: February 25, 2016
·
997
· josemarluedke

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

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside