From 58b4994f5634b839cb6cafa1457da7eb5c5a9c7c Mon Sep 17 00:00:00 2001 From: Oleg Date: Tue, 8 Jan 2013 00:16:36 +0400 Subject: [PATCH] Always use core_push in jQuery.buildFragment --- src/manipulation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manipulation.js b/src/manipulation.js index 3be2b3451..3ddd56c3a 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -439,7 +439,7 @@ jQuery.extend({ // Convert non-html into a text node } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); + core_push.call( nodes, context.createTextNode( elem ) ); // Convert html into DOM nodes } else { @@ -495,7 +495,7 @@ jQuery.extend({ elem = tmp[ j ]; if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); + core_push.call( scripts, elem ); } } } -- 2.39.5