mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed #2077 by adding a var to make it a local variable instead of initializing a global one.
This commit is contained in:
parent
a7dfbb55d9
commit
be9302b710
@ -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++ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user