[Pkg-javascript-commits] [backbone] 23/34: Adding a missing var declaration inside handleEvents
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:58:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.1.2
in repository backbone.
commit 83f4748d8c8e84281582eaa07649de5c64fdcd74
Author: Nick Fitzgerald <fitzgen at gmail.com>
Date: Sun Oct 17 18:24:01 2010 -0700
Adding a missing var declaration inside handleEvents
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index 33d2972..6017888 100644
--- a/backbone.js
+++ b/backbone.js
@@ -550,7 +550,7 @@
handleEvents : function(events) {
$(this.el).unbind();
if (!(events || (events = this.events))) return this;
- for (key in events) {
+ for (var key in events) {
var methodName = events[key];
var match = key.match(eventSplitter);
var eventName = match[1], selector = match[2];
--
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