mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 03:45:04 -05:00
Eliminate global variable "l" (!)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user