update components
This commit is contained in:
parent
0c7088e379
commit
cf2c7ca241
157 changed files with 2861 additions and 2975 deletions
|
@ -53,13 +53,16 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
|||
}
|
||||
}
|
||||
|
||||
return chainable ?
|
||||
elems :
|
||||
if ( chainable ) {
|
||||
return elems;
|
||||
}
|
||||
|
||||
// Gets
|
||||
bulk ?
|
||||
fn.call( elems ) :
|
||||
len ? fn( elems[ 0 ], key ) : emptyGet;
|
||||
// Gets
|
||||
if ( bulk ) {
|
||||
return fn.call( elems );
|
||||
}
|
||||
|
||||
return len ? fn( elems[ 0 ], key ) : emptyGet;
|
||||
};
|
||||
|
||||
return access;
|
||||
|
|
|
@ -6,7 +6,6 @@ define( [
|
|||
"use strict";
|
||||
|
||||
var readyCallbacks = [],
|
||||
readyFiring = false,
|
||||
whenReady = function( fn ) {
|
||||
readyCallbacks.push( fn );
|
||||
},
|
||||
|
@ -60,16 +59,11 @@ jQuery.extend( {
|
|||
whenReady = function( fn ) {
|
||||
readyCallbacks.push( fn );
|
||||
|
||||
if ( !readyFiring ) {
|
||||
readyFiring = true;
|
||||
|
||||
while ( readyCallbacks.length ) {
|
||||
fn = readyCallbacks.shift();
|
||||
if ( jQuery.isFunction( fn ) ) {
|
||||
executeReady( fn );
|
||||
}
|
||||
while ( readyCallbacks.length ) {
|
||||
fn = readyCallbacks.shift();
|
||||
if ( jQuery.isFunction( fn ) ) {
|
||||
executeReady( fn );
|
||||
}
|
||||
readyFiring = false;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
14
dashboard-ui/bower_components/jquery/src/core/stripAndCollapse.js
vendored
Normal file
14
dashboard-ui/bower_components/jquery/src/core/stripAndCollapse.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
define( [
|
||||
"../var/rnothtmlwhite"
|
||||
], function( rnothtmlwhite ) {
|
||||
"use strict";
|
||||
|
||||
// Strip and collapse whitespace according to HTML spec
|
||||
// https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace
|
||||
function stripAndCollapse( value ) {
|
||||
var tokens = value.match( rnothtmlwhite ) || [];
|
||||
return tokens.join( " " );
|
||||
}
|
||||
|
||||
return stripAndCollapse;
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue