aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-01-08 00:16:36 +0400
committerDave Methvin <dave.methvin@gmail.com>2013-01-08 02:41:21 +0000
commit58b4994f5634b839cb6cafa1457da7eb5c5a9c7c (patch)
tree3bfd94c65b796b9aeb086a41149ae67ee5dfc07a /src/manipulation.js
parent6d2ae92fe4e8bbbfd90d26ad5c5d51960f91f7b4 (diff)
downloadjquery-58b4994f5634b839cb6cafa1457da7eb5c5a9c7c.tar.gz
jquery-58b4994f5634b839cb6cafa1457da7eb5c5a9c7c.zip
Always use core_push in jQuery.buildFragment
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js4
1 files 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 );
}
}
}