Opened 13 years ago
Closed 12 years ago
#5347 closed bug (invalid)
Function Parameter is Redeclared
Reported by: | user52 | Owned by: | john |
---|---|---|---|
Priority: | trivial | Milestone: | 1.4 |
Component: | selector | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
"Warning: variable i redeclares argument" Source File: jquery-1.3.2.js Line: 1949, Column: 14 Source Code: for ( var i = 0, l = not.length; i < l; i++ ) { ...
Change:
for ( var i = 0, l = not.length; i < l; i++ ) { if ( not[i] === elem ) { return false; } }
To:
for ( var j = 0, l = not.length; j < l; j++ ) { if ( not[j] === elem ) { return false; } }
Change History (3)
comment:1 Changed 13 years ago by
Priority: | major → trivial |
---|
comment:2 Changed 13 years ago by
Screenshot: http://imgur.com/a6aDt.png
Enable these options in Firebug: http://imgur.com/TYZUY.png
This page generates the message:
<!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.js"></script> </head> <body> </body> </html>
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This error cannot be reproduced. Additionally, the codebase has changed.
Note: See
TracTickets for help on using
tickets.
What is generating this message?