Simple asset pipeline management for Waypoints.js
Add this line to your application's Gemfile:
gem 'waypoints_rails'And then execute:
$ bundle
Or install it yourself as:
$ gem install waypoints_rails
In your application.js, include one of the following:
//= require waypoints/jquery.waypoints.js
//= require waypoints/jquery.waypoints.min.js
//= require waypoints/noframework.waypoints.js
//= require waypoints/noframework.waypoints.min.js
//= require waypoints/waypoints.debug.js
//= require waypoints/zepto.waypoints.js
//= require waypoints/zepto.waypoints.min.jsAnd then, for optional waypoints shortcuts, require any of the following:
//= require waypoints/shortcuts/infinite.js
//= require waypoints/shortcuts/infinite.min.js
//= require waypoints/shortcuts/inview.js
//= require waypoints/shortcuts/inview.min.js
//= require waypoints/shortcuts/sticky.js
//= require waypoints/shortcuts/sticky.min.js- Fork it ( https://github.com/[my-github-username]/waypoints_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 a new Pull Request
Built by the team at Nifty.