forked from marionettejs/backbone.marionette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the docs listing in the readme, and added a configuration doc…
… for marionette.$
- Loading branch information
Derick Bailey
committed
Mar 19, 2013
1 parent
de5119e
commit c21a22f
Showing
2 changed files
with
77 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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.$](#marionette_) | ||
|
||
## Marionette.$ | ||
|
||
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: | ||
|
||
```js | ||
Backbone.$ = myDOMLib; | ||
Marioentte.$ = myDOMLib; | ||
``` | ||
|
||
Note that you should change both Backbone and Marionette at the same | ||
time, to the same DOM manipulation library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters