diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 17:39:21 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 17:39:21 +0000 |
commit | 0b36b26259bb1384d8a6d7d55d8738082b96c304 (patch) | |
tree | 0d7f8e9a0e4dd8335d25481a54113f33bcea10ae /src/selector.js | |
parent | 5550356a12f525cbda0640fd06169259d4c02092 (diff) | |
download | jquery-0b36b26259bb1384d8a6d7d55d8738082b96c304.tar.gz jquery-0b36b26259bb1384d8a6d7d55d8738082b96c304.zip |
fixed global variables introduced in for loop with missing var-keyword (detected via QUnit's no ?noglobals)
Diffstat (limited to 'src/selector.js')
-rw-r--r-- | src/selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector.js b/src/selector.js index fb332465d..64222c3f6 100644 --- a/src/selector.js +++ b/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; } |