diff options
author | John Resig <jeresig@gmail.com> | 2009-09-15 21:01:00 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-09-15 21:01:00 +0000 |
commit | e907b8769f473d8b3b271ce91fb0e7a1b3a6d24f (patch) | |
tree | 96d9e0498c3e8ebcf601a109ca850e42e904d654 /src/selector.js | |
parent | daffb954e397bd5d9f8e9aaedab6c0baa9609e1e (diff) | |
download | jquery-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.js | 2 |
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; } |