scrolld.js-rails
This gem packages Scrolld.js for the Rails 3.1+ asset pipeline.
Scrolld.js requires jQuery 1.7.x+
.
Installation
Add this line to your application's Gemfile:
gem 'scrolld.js-rails', '~> 1.0.0'
And then execute:
$ bundle
Or install it yourself as:
$ gem install scrolld.js-rails
Add the following to your JavaScript manifest file (application.js
):
//= require scrolld
or
//= require scrolld.min
Usage
Check out the documentation at: http://www.scrolldjs.com/
Contributing
- Fork it ( http://github.com/TrevorS/scrolld.js-rails/fork )
- 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