mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Eliminate global variable "l" (!)
This commit is contained in:
parent
30249ab572
commit
6c618ddb0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user