Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

adding br-jquery support #6

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/backbone-browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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 || require('jquery');
var $ = root.jQuery || root.Zepto || root.ender || require('br-jquery');

// Set the JavaScript library that will be used for DOM manipulation and
// Ajax calls (a.k.a. the `$` variable). By default Backbone will use: jQuery,
Expand Down Expand Up @@ -1436,4 +1436,4 @@
if (module == null) { module = {}; };
module.exports = create(this);

}(this);
}(this);