Fixed small leak introduced by #901

This commit is contained in:
Tomasz Tunik
2012-01-30 21:45:20 +01:00
parent da7bf9929d
commit f52ef8c724

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, cids = {}, ids = {};
var i, index, length, model, cid, cids = {}, ids = {};
options || (options = {});
models = _.isArray(models) ? models.slice() : [models];