• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Vendors the Backbone.Marionette library for use with Rails' asset pipeline

marionette-rails

Dependency Status Gem Version

This gem is a wrapper for Derick Bailey's Backbone.Marionette library. It vendors the javascript library code for use with Rails' asset pipeline (Rails 3.1+).

This gem is currently maintained by @wingrunr21.

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:

  gem 'marionette-rails'

Then add this to app/assets/javascripts/application.js.coffee after your backbone require:

#= require backbone.marionette

Or, if you are using pure javascript, add this to app/assets/javascripts/application.js:

//= require backbone.marionette

Versioning

The gem will mirror the Backbone.Marionette versioning scheme. That is, version 0.8.2.* of marionette-rails would vendor Backbone.Marionette v0.8.2.

Updating Backbone.Marionette

There are two rake tasks that aid with this process:

rake marionette:latest # => will fetch the latest Backbone.Marionette tag/SHA and print them
rake marionette:update # => will update the gem to the latest Backbone.Marionette js and update the gem version

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!

License

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

More Repositories

1

json_expressions

JSON matchmaking for all your API testing needs.
Ruby
416
star
2

hn-reader

An embitious Hacker News reader, built with Ember.js
JavaScript
207
star
3

postcss-canadian-stylesheets

PostCSS plugin for writing Canadian stylesheets
JavaScript
73
star
4

branch-rename

68
star
5

javascript

Harness the raw power of your machine with JavaScript
Ruby
59
star
6

ember-concurrency-async

Async task functions for ember-concurrency
JavaScript
53
star
7

blame_parent

A chrome extension to make blaming easy on github
JavaScript
51
star
8

entypo-plus

397 carefully crafted premium pictograms by Daniel Bruce
HTML
39
star
9

ember-concurrency-ts

TypeScript utilities for ember-concurrency.
TypeScript
15
star
10

ember-bench

Ruby
10
star
11

ember-cli-canadian-stylesheets

Ember CLI Canadian Stylesheets
JavaScript
9
star
12

activesupport-json_encoder

The old JSON encoder with `encode_json` support (Removed from core in Rails 4.1)
Ruby
6
star
13

ember-github-issues

JavaScript
4
star
14

mruby-canada

Adds support for Canadian programming conventions to the mruby language
Ruby
4
star
15

rails-internals

Like chrome://net-internals, but for Rails.
Ruby
3
star
16

actionview-component

Ruby
3
star
17

reactions

Source code for https://reactions.live
JavaScript
3
star
18

stampy

TypeScript
2
star
19

hearts-judge

Judge script for our Hearts NPC Project
Ruby
2
star
20

KinectPresenter

C#
2
star
21

as_json_encoder

A JSON encoder that is tailored to the needs of Rails.
Ruby
2
star
22

mygittest

learning to use git(hub). trying stuff out.
2
star
23

angry-mum

1
star
24

activesupport-encode_json

A JSON encoder that supports Object#encode_json (removed from core in Rails 4.1)
1
star
25

Xcode-Test

testing xcode + git hub
1
star
26

freezer

Ruby
1
star
27

enjoyable

Use your gamepad or joystick like a mouse and keyboard on Mac OS X.
Objective-C
1
star
28

passive_model_serializers

An experiment to to make ActiveModel::Serializers more flexible
Ruby
1
star
29

json_caching

Ruby
1
star
30

railsbridge-stickerbot

Stickerbot!
1
star
31

yarn-bug-report

1
star
32

automatic-backport

Automatically backport commits based on commit tags or pull request labels
TypeScript
1
star
33

test-gha

1
star