Merge pull request #11 from bildja/patch-2

Add jquery dependency.
This commit is contained in:
Joe Vu 2014-12-01 10:57:14 -08:00
commit b5202287d9

View File

@ -10,12 +10,12 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['underscore', 'backbone'], factory);
define(['underscore', 'jquery', 'backbone'], factory);
} else {
// Browser globals
factory(_, Backbone);
factory(_, $, Backbone);
}
}(this, function(_, Backbone){
}(this, function(_, $, Backbone){
// Clone the original Backbone.Model.prototype
var backboneModelClone = _.clone( Backbone.Model.prototype );