LaddaOnRails
A Ruby Gem of Ladda.js for your Rails Asset Pipeline
Installation
Add this line to your application's Gemfile:
gem 'ladda_on_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ladda_on_rails
Usage
# Add this in your application.js
//= require ladda
//= require spin
# And in your application.css
*= require ladda
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
License
MIT License. Copyright (c) 2013 Robbie Marcelo, see LICENSE for full details.