A pageable, drop-in replacement for Backbone.Collection called Backbone.PageableCollection See the Backbone.Paginator for more information and examples.
Add this line to your application's Gemfile:
gem 'backbone-paginator-rails'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install backbone-paginator-rails
Require backbone.paginator
in your app/assets/javascripts/application.js
or other JS file:
//= require backbone.paginator
- 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