Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 903 Bytes

Marionette Configuration

Marionette has a few globally configurable settings that will change how the system works. While many of these subjects are covered in other docs, this configuration doc should provides a list of the most common items to change.

Documentation Index


Marionette makes use of jQuery, by default, to manipulate DOM elements. To get a reference to jQuery, though, it assigns the Marionette.$ attribute to Backbone.$. This provides consistency with Backbone in which exact version of jQuery or other DOM manipulation library is used.

If you wish to change to a specific version of a DOM manipulation library, you can directly assign these settings:

Backbone.$ = myDOMLib;
Marioentte.$ = myDOMLib;

Note that you should change both Backbone and Marionette at the same time, to the same DOM manipulation library.

Jump to Line
Something went wrong with that request. Please try again.