Skip to content

Commit

Permalink
Eliminate global variable "l" (!)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin authored and timmywil committed Sep 19, 2011
1 parent 30249ab commit 6c618dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.js
Expand Up @@ -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
Expand Down

0 comments on commit 6c618dd

Please sign in to comment.