aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorPaul Ramos <paul.b.ramos@gmail.com>2012-12-04 21:30:37 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-12-04 21:30:37 -0500
commit13449a99b2b279a7ae6401b8373d20504362213d (patch)
tree0e0687f7fe3237e463b56a67e5b8aec620e3c007 /src/core.js
parentec72d9f4db9ede84f4c1fb3d4e0e29083dd07095 (diff)
downloadjquery-13449a99b2b279a7ae6401b8373d20504362213d.tar.gz
jquery-13449a99b2b279a7ae6401b8373d20504362213d.zip
Fix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052.
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index eee810070..22b56ce5d 100644
--- a/src/core.js
+++ b/src/core.js
@@ -497,8 +497,7 @@ jQuery.extend({
if ( scripts ) {
jQuery( scripts ).remove();
}
- return jQuery.merge( [],
- ( parsed.cacheable ? jQuery.clone( parsed.fragment ) : parsed.fragment ).childNodes );
+ return jQuery.merge( [], parsed.childNodes );
},
parseJSON: function( data ) {