Simply a gem that makes Backbone available in the pipeline with minimal dependencies.
As described by Backbone, the following are dependencies:
Installation
Add this line to your application's Gemfile:
gem 'simple-backbone-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple-backbone-rails
Usage
In your application JavaScript file add the following line:
//= require backbone
In addition you may need to include jQuery
and underscore
:
//= require jquery
//= require underscore