Skip to content

Commit

Permalink
leaked global
Browse files Browse the repository at this point in the history
  • Loading branch information
braddunbar committed Jan 30, 2012
1 parent 62620b5 commit 8ce8753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@
// Add a model, or list of models to the set. Pass **silent** to avoid
// firing the `add` event for every new model.
add: function(models, options) {
var i, index, length, model, cid, cids = {}, ids = {};
var i, index, length, model, cid, id, cids = {}, ids = {};
options || (options = {});
models = _.isArray(models) ? models.slice() : [models];

Expand Down

0 comments on commit 8ce8753

Please sign in to comment.