Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 984 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 984 Bytes

Backbone.Paginator for Rails Gem Version

A pageable, drop-in replacement for Backbone.Collection called Backbone.PageableCollection See the Backbone.Paginator for more information and examples.

Installation

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

Using the javascripts

Require backbone.paginator in your app/assets/javascripts/application.js or other JS file:

//= require backbone.paginator

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request