leaked global

This commit is contained in:
Brad Dunbar
2012-01-30 15:52:23 -05:00
parent 62620b5a98
commit 8ce8753930

View File

@@ -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];