marionette-amd-rails
This gem is a wrapper for the AMD version of Derick Bailey's Backbone.Marionette library. It vendors the javascript library code for use with Rails' asset pipeline (Rails 3.1+).
Dependencies
Backbone.Marionette depends on Backbone (and Backbone's dependencies). These dependencies are not currently managed by the marionette-rails
gem directly, because there exists multiple options to use Backbone with the Rails asset pipeline, such as backbone-on-rails
, backbone-rails
, rails-backbone
, just to name a few.
Usage
Add it to your Gemfile:
group :assets do
# Your other asset gems (sass-rails, coffee-rails, etc)
gem 'marionette-amd-rails'
end
Load backbone.marionette
module as a dependency when appropriate.
Versioning
The gem will mirror the Backbone.Marionette versioning scheme. That is, version 0.8.2.* of marionette-amd-rails
would vendor Backbone.Marionette v0.8.2.
Contributing
For bugs in Backbone.Marionette itself, head over to their issue tracker. If you have a question, post it at StackOverflow under the backbone.marionette
tag.
For bugs in this gem distribution, use the GitHub issue tracker. If you could submit a pull request - that's even better!
Donations
If you're using Marionette and you're finding that it is saving you time and effort, then please consider donating to the upstream Backbone.Marionette project.
License
This library is distributed under the MIT license. Please see the LICENSE file.