Skip to content
Permalink
Browse files

fixed global variables introduced in for loop with missing var-keywor…

…d (detected via QUnit's no ?noglobals)
  • Loading branch information
jzaefferer committed Sep 15, 2009
1 parent 5550356 commit 0b36b26259bb1384d8a6d7d55d8738082b96c304
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/selector.js
@@ -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;
}

0 comments on commit 0b36b26

Please sign in to comment.
You can’t perform that action at this time.