[Pkg-javascript-commits] [backbone] 11/34: removing redundant assignment in Events#trigger
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:58:44 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 3560062c11a7919688c861c2b4c5dd86ff3e13c5
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu Oct 14 13:49:01 2010 -0400
removing redundant assignment in Events#trigger
---
backbone.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index e999935..58b6bdd 100644
--- a/backbone.js
+++ b/backbone.js
@@ -79,7 +79,6 @@
// Listening for `"all"` passes the true event name as the first argument.
trigger : function(ev) {
var list, calls, i, l;
- var calls = this._callbacks;
if (!(calls = this._callbacks)) return this;
if (list = calls[ev]) {
for (i = 0, l = list.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