From 9bdaa62224bc280f213b388fdfe638aef32f9240 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Tue, 31 Jan 2012 22:27:47 -0500 Subject: [PATCH] use `$` as DOM abstraction library --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index d72fa9c27..55588174d 100644 --- a/backbone.js +++ b/backbone.js @@ -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.