aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 17:39:21 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 17:39:21 +0000
commit0b36b26259bb1384d8a6d7d55d8738082b96c304 (patch)
tree0d7f8e9a0e4dd8335d25481a54113f33bcea10ae /src/selector.js
parent5550356a12f525cbda0640fd06169259d4c02092 (diff)
downloadjquery-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.js2
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;
}