Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
24
app/bower_components/jquery/src/manipulation.js
vendored
24
app/bower_components/jquery/src/manipulation.js
vendored
|
@ -1,6 +1,7 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./var/concat",
|
||||
"./var/isFunction",
|
||||
"./var/push",
|
||||
"./core/access",
|
||||
"./manipulation/var/rcheckableType",
|
||||
|
@ -22,7 +23,7 @@ define( [
|
|||
"./traversing",
|
||||
"./selector",
|
||||
"./event"
|
||||
], function( jQuery, concat, push, access,
|
||||
], function( jQuery, concat, isFunction, push, access,
|
||||
rcheckableType, rtagName, rscriptType,
|
||||
wrapMap, getAll, setGlobalEval, buildFragment, support,
|
||||
dataPriv, dataUser, acceptData, DOMEval, nodeName ) {
|
||||
|
@ -38,14 +39,13 @@ var
|
|||
|
||||
/* eslint-enable */
|
||||
|
||||
// Support: IE <=10 - 11, Edge 12 - 13
|
||||
// Support: IE <=10 - 11, Edge 12 - 13 only
|
||||
// In IE/Edge using regex groups here causes severe slowdowns.
|
||||
// See https://connect.microsoft.com/IE/feedback/details/1736512/
|
||||
rnoInnerhtml = /<script|<style|<link/i,
|
||||
|
||||
// checked="checked" or checked
|
||||
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
|
||||
rscriptTypeMasked = /^true\/(.*)/,
|
||||
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
|
||||
|
||||
// Prefer a tbody over its parent table for containing new rows
|
||||
|
@ -53,7 +53,7 @@ function manipulationTarget( elem, content ) {
|
|||
if ( nodeName( elem, "table" ) &&
|
||||
nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
|
||||
|
||||
return jQuery( ">tbody", elem )[ 0 ] || elem;
|
||||
return jQuery( elem ).children( "tbody" )[ 0 ] || elem;
|
||||
}
|
||||
|
||||
return elem;
|
||||
|
@ -65,10 +65,8 @@ function disableScript( elem ) {
|
|||
return elem;
|
||||
}
|
||||
function restoreScript( elem ) {
|
||||
var match = rscriptTypeMasked.exec( elem.type );
|
||||
|
||||
if ( match ) {
|
||||
elem.type = match[ 1 ];
|
||||
if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) {
|
||||
elem.type = elem.type.slice( 5 );
|
||||
} else {
|
||||
elem.removeAttribute( "type" );
|
||||
}
|
||||
|
@ -134,15 +132,15 @@ function domManip( collection, args, callback, ignored ) {
|
|||
l = collection.length,
|
||||
iNoClone = l - 1,
|
||||
value = args[ 0 ],
|
||||
isFunction = jQuery.isFunction( value );
|
||||
valueIsFunction = isFunction( value );
|
||||
|
||||
// We can't cloneNode fragments that contain checked, in WebKit
|
||||
if ( isFunction ||
|
||||
if ( valueIsFunction ||
|
||||
( l > 1 && typeof value === "string" &&
|
||||
!support.checkClone && rchecked.test( value ) ) ) {
|
||||
return collection.each( function( index ) {
|
||||
var self = collection.eq( index );
|
||||
if ( isFunction ) {
|
||||
if ( valueIsFunction ) {
|
||||
args[ 0 ] = value.call( this, index, self.html() );
|
||||
}
|
||||
domManip( self, args, callback, ignored );
|
||||
|
@ -196,14 +194,14 @@ function domManip( collection, args, callback, ignored ) {
|
|||
!dataPriv.access( node, "globalEval" ) &&
|
||||
jQuery.contains( doc, node ) ) {
|
||||
|
||||
if ( node.src ) {
|
||||
if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) {
|
||||
|
||||
// Optional AJAX dependency, but won't run scripts if not present
|
||||
if ( jQuery._evalUrl ) {
|
||||
jQuery._evalUrl( node.src );
|
||||
}
|
||||
} else {
|
||||
DOMEval( node.textContent.replace( rcleanScript, "" ), doc );
|
||||
DOMEval( node.textContent.replace( rcleanScript, "" ), doc, node );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue