]> source.dussan.org Git - jquery.git/commitdiff
Remove memory fix
authorOleg <markelog@gmail.com>
Wed, 19 Dec 2012 19:40:24 +0000 (23:40 +0400)
committerOleg <markelog@gmail.com>
Sun, 23 Dec 2012 23:03:28 +0000 (03:03 +0400)
src/manipulation.js

index 3a3dff165d9437e8b637c2386be2b51e3a0495ec..5abb8a519f342cdfd2d2a0dbc6f867000f4d47e9 100644 (file)
@@ -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;
        },