fixed global variables introduced in for loop with missing var-keyword (detected via QUnit's no ?noglobals)
This commit is contained in:
parent
5550356a12
commit
0b36b26259
|
@ -551,7 +551,7 @@ var Expr = Sizzle.selectors = {
|
||||||
} else if ( name === "not" ) {
|
} else if ( name === "not" ) {
|
||||||
var not = match[3];
|
var not = match[3];
|
||||||
|
|
||||||
for ( i = 0, l = not.length; i < l; i++ ) {
|
for ( var i = 0, l = not.length; i < l; i++ ) {
|
||||||
if ( not[i] === elem ) {
|
if ( not[i] === elem ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue