Merge pull request #920 from braddunbar/$

use `$` as DOM abstraction library
This commit is contained in:
Jeremy Ashkenas
2012-02-02 12:17:48 -08:00

View File

@@ -38,7 +38,7 @@
if (!_ && (typeof require !== 'undefined')) _ = require('underscore');
// For Backbone's purposes, jQuery, Zepto, or Ender owns the `$` variable.
var $ = root.jQuery || root.Zepto || root.ender;
var $ = root.jQuery || root.Zepto || root.ender || root.$;
// Runs Backbone.js in *noConflict* mode, returning the `Backbone` variable
// to its previous owner. Returns a reference to this Backbone object.