diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-09-11 20:44:44 -0400 |
---|---|---|
committer | timmywil <timmywillisn@gmail.com> | 2011-09-19 15:42:32 -0400 |
commit | 6c618ddb0d1efd980316c7d268c5531419e67ae0 (patch) | |
tree | 00656905f80d5daab4ffd3fb16e61e4ec7bfa533 | |
parent | 30249ab572ab26ae3b0d9873d393cd4cb415a9f6 (diff) | |
download | jquery-6c618ddb0d1efd980316c7d268c5531419e67ae0.tar.gz jquery-6c618ddb0d1efd980316c7d268c5531419e67ae0.zip |
Eliminate global variable "l" (!)
-rw-r--r-- | src/event.js | 2 |
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 |