Modularity::Rails
Makes the Modularity CoffeeScript library available to Rails 3.1 applications.
Installation
Add this line to your application's Gemfile:
gem 'modularity-rails'
And then execute:
$ bundle
Finally, you have to load the modularity file into your application's javascript.
The easiest way is to add it to application.js
:
/**
*= require jquery
*= require modularity
*/
Usage
See [http://github.com/kevgo/modularity-coffeescript].
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request