diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2012-12-06 21:17:27 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-12-06 21:17:27 -0500 |
commit | 282c044d64e366d1bcb76d7d4f49c54098c6547f (patch) | |
tree | c402803239e35f09573abab598ae8a141c1cc558 /src/core.js | |
parent | 747600b157a831422a7c5acd8b768c348b673495 (diff) | |
download | jquery-282c044d64e366d1bcb76d7d4f49c54098c6547f.tar.gz jquery-282c044d64e366d1bcb76d7d4f49c54098c6547f.zip |
Fix #13013. Move jQuery.buildFragment() to compat plugin.
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 22b56ce5d..d748d0d21 100644 --- a/src/core.js +++ b/src/core.js @@ -493,7 +493,8 @@ jQuery.extend({ return [ context.createElement( parsed[1] ) ]; } - parsed = jQuery.buildFragment( [ data ], context, scripts ); + parsed = context.createDocumentFragment(); + jQuery.clean( [ data ], context, parsed, scripts ); if ( scripts ) { jQuery( scripts ).remove(); } |