Skip to content
Permalink
Browse files

Eliminate global variable "l" (!)

  • Loading branch information...
dmethvin authored and timmywil committed Sep 12, 2011
1 parent 30249ab commit 6c618ddb0d1efd980316c7d268c5531419e67ae0
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 6c618dd

Please sign in to comment.
You can’t perform that action at this time.