aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-09-15 21:01:00 +0000
committerJohn Resig <jeresig@gmail.com>2009-09-15 21:01:00 +0000
commite907b8769f473d8b3b271ce91fb0e7a1b3a6d24f (patch)
tree96d9e0498c3e8ebcf601a109ca850e42e904d654 /src/selector.js
parentdaffb954e397bd5d9f8e9aaedab6c0baa9609e1e (diff)
downloadjquery-e907b8769f473d8b3b271ce91fb0e7a1b3a6d24f.tar.gz
jquery-e907b8769f473d8b3b271ce91fb0e7a1b3a6d24f.zip
Missing a var on a for loop, caused a variable to be leaked.
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 64222c3f6..fb332465d 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 ( var i = 0, l = not.length; i < l; i++ ) {
+ for ( i = 0, l = not.length; i < l; i++ ) {
if ( not[i] === elem ) {
return false;
}