Rocky
Rocky is CoffeeScript Middleware that binds class objects with HTML page elements. Class objects interact with page elements through Backbone events.
Installation
Add this line to your application's Gemfile:
gem 'rocky'
And then execute:
$ bundle
$ rails g rocky:install
Last command will add the following lines to file (app/assets/javascripts/application.js):
//= require underscore
//= require backbone
//= require middleware
//= require application/#{your_application_name}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request