Commit 0b36b262 authored by Jörn Zaefferer's avatar Jörn Zaefferer

fixed global variables introduced in for loop with missing var-keyword...

fixed global variables introduced in for loop with missing var-keyword (detected via QUnit's no ?noglobals)
parent 5550356a
......@@ -551,7 +551,7 @@ var Expr = Sizzle.selectors = {
} else if ( name === "not" ) {
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 ) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment