Skip to content
Permalink
Browse files

Fixed #2077 by adding a var to make it a local variable instead of in…

…itializing a global one.
  • Loading branch information
davids549 committed Dec 19, 2007
1 parent a7dfbb5 commit be9302b710416715b9d278f589be99fa6f9e7cb8
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/selector.js
@@ -140,7 +140,8 @@ jQuery.extend({
if ( (m = re.exec(t)) != null ) {
r = [];

nodeName = m[2].toUpperCase(), merge = {};
var merge = {};
nodeName = m[2].toUpperCase();
m = m[1];

for ( var j = 0, rl = ret.length; j < rl; j++ ) {

0 comments on commit be9302b

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