Update dependencies
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
define( [
|
||||
"../core",
|
||||
"../core/toType",
|
||||
"./var/rtagName",
|
||||
"./var/rscriptType",
|
||||
"./wrapMap",
|
||||
"./getAll",
|
||||
"./setGlobalEval"
|
||||
], function( jQuery, rtagName, rscriptType, wrapMap, getAll, setGlobalEval ) {
|
||||
], function( jQuery, toType, rtagName, rscriptType, wrapMap, getAll, setGlobalEval ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@@ -24,7 +25,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
|
||||
if ( elem || elem === 0 ) {
|
||||
|
||||
// Add nodes directly
|
||||
if ( jQuery.type( elem ) === "object" ) {
|
||||
if ( toType( elem ) === "object" ) {
|
||||
|
||||
// Support: Android <=4.0 only, PhantomJS 1 only
|
||||
// push.apply(_, arraylike) throws on ancient WebKit
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
define( function() {
|
||||
"use strict";
|
||||
|
||||
return ( /^$|\/(?:java|ecma)script/i );
|
||||
return ( /^$|^module$|\/(?:java|ecma)script/i );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user