mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Remove memory fix
This commit is contained in:
parent
e9ea6679b2
commit
329d5e1d03
@ -324,7 +324,6 @@ jQuery.fn.extend({
|
||||
// Hope ajax is available...
|
||||
jQuery.ajax({
|
||||
url: node.src,
|
||||
type: "GET",
|
||||
dataType: "script",
|
||||
async: false,
|
||||
global: false,
|
||||
@ -336,9 +335,6 @@ jQuery.fn.extend({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Fix #11809: Avoid leaking memory
|
||||
fragment = first = null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -568,8 +564,6 @@ jQuery.extend({
|
||||
setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
|
||||
}
|
||||
|
||||
destElements = srcElements = node = null;
|
||||
|
||||
// Return the cloned set
|
||||
return clone;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user