use $ as DOM abstraction library

This commit is contained in:
Brad Dunbar
2012-01-31 22:27:47 -05:00
parent bbee6f17ce
commit 9bdaa62224

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.