[Pkg-javascript-commits] [backbone] 278/281: Fixed small leak introduced by #901

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9.0
in repository backbone.

commit f52ef8c72480709c32a59035d82650979f079848
Author: Tomasz Tunik <tomasztunik at gmail.com>
Date:   Mon Jan 30 21:45:20 2012 +0100

    Fixed small leak introduced by #901
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 0f72184..edbbf42 100644
--- a/backbone.js
+++ b/backbone.js
@@ -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];
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list