[Pkg-javascript-commits] [backbone] 280/281: leaked global

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 8ce8753930244075041dd3f9cdd04e9f16bb9bc3
Author: Brad Dunbar <dunbarb2 at gmail.com>
Date:   Mon Jan 30 15:52:23 2012 -0500

    leaked global
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index edbbf42..6e3a143 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, cid, cids = {}, ids = {};
+      var i, index, length, model, cid, id, 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