No commit activity in last 3 years
No release in over 3 years
Vendors AMD Backbone.Marionette for use with asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1.0
 Project Readme

marionette-amd-rails

Dependency Status

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.

Donate

License

This library is distributed under the MIT license. Please see the LICENSE file.