From: Oleg Date: Wed, 19 Dec 2012 19:40:24 +0000 (+0400) Subject: Remove memory fix X-Git-Tag: 2.0.0b1~59^2~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=329d5e1d0328a5e638d4041e913fe1faccd919f3;p=jquery.git Remove memory fix --- diff --git a/src/manipulation.js b/src/manipulation.js index 3a3dff165..5abb8a519 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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; },