aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-09-11 20:44:44 -0400
committertimmywil <timmywillisn@gmail.com>2011-09-19 15:42:32 -0400
commit6c618ddb0d1efd980316c7d268c5531419e67ae0 (patch)
tree00656905f80d5daab4ffd3fb16e61e4ec7bfa533
parent30249ab572ab26ae3b0d9873d393cd4cb415a9f6 (diff)
downloadjquery-6c618ddb0d1efd980316c7d268c5531419e67ae0.tar.gz
jquery-6c618ddb0d1efd980316c7d268c5531419e67ae0.zip
Eliminate global variable "l" (!)
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 0376e49af..8e756097c 100644
--- a/src/event.js
+++ b/src/event.js
@@ -580,7 +580,7 @@ function dispatch( target, event, handlers, args ) {
j, handleObj, ret;
event.currentTarget = target;
- for ( j = 0, l = handlers.length; j < l && !event.isImmediatePropagationStopped(); j++ ) {
+ for ( j = 0; j < handlers.length && !event.isImmediatePropagationStopped(); j++ ) {
handleObj = handlers[ j ];
// Triggered event must either 1) be non-exclusive and have no namespace, or