[Pkg-javascript-commits] [backbone] 250/281: fixing accidental global 'l' in loop.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:19 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 c5ddc6b8f862474acefbd5efeb370bb7bc1eb8ab
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Wed Jan 25 10:24:53 2012 -0500
fixing accidental global 'l' in loop.
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index 02eec7f..571e78f 100644
--- a/backbone.js
+++ b/backbone.js
@@ -507,7 +507,7 @@
// Remove a model, or a list of models from the set. Pass silent to avoid
// firing the `remove` event for every model removed.
remove: function(models, options) {
- var i, index, model;
+ var i, l, index, model;
options || (options = {});
models = _.isArray(models) ? models.slice() : [models];
for (i = 0, l = models.length; i < l; i++) {
--
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