Fixed #2077 by adding a var to make it a local variable instead of initializing a global one.

This commit is contained in:
David Serduke 2007-12-19 18:47:01 +00:00
parent a7dfbb55d9
commit be9302b710

View file

@ -140,7 +140,8 @@ jQuery.extend({
if ( (m = re.exec(t)) != null ) { if ( (m = re.exec(t)) != null ) {
r = []; r = [];
nodeName = m[2].toUpperCase(), merge = {}; var merge = {};
nodeName = m[2].toUpperCase();
m = m[1]; m = m[1];
for ( var j = 0, rl = ret.length; j < rl; j++ ) { for ( var j = 0, rl = ret.length; j < rl; j++ ) {