Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
18
app/bower_components/jquery/src/core/DOMEval.js
vendored
18
app/bower_components/jquery/src/core/DOMEval.js
vendored
|
@ -3,12 +3,26 @@ define( [
|
|||
], function( document ) {
|
||||
"use strict";
|
||||
|
||||
function DOMEval( code, doc ) {
|
||||
var preservedScriptAttributes = {
|
||||
type: true,
|
||||
src: true,
|
||||
noModule: true
|
||||
};
|
||||
|
||||
function DOMEval( code, doc, node ) {
|
||||
doc = doc || document;
|
||||
|
||||
var script = doc.createElement( "script" );
|
||||
var i,
|
||||
script = doc.createElement( "script" );
|
||||
|
||||
script.text = code;
|
||||
if ( node ) {
|
||||
for ( i in preservedScriptAttributes ) {
|
||||
if ( node[ i ] ) {
|
||||
script[ i ] = node[ i ];
|
||||
}
|
||||
}
|
||||
}
|
||||
doc.head.appendChild( script ).parentNode.removeChild( script );
|
||||
}
|
||||
|
||||
|
|
10
app/bower_components/jquery/src/core/access.js
vendored
10
app/bower_components/jquery/src/core/access.js
vendored
|
@ -1,6 +1,8 @@
|
|||
define( [
|
||||
"../core"
|
||||
], function( jQuery ) {
|
||||
"../core",
|
||||
"../core/toType",
|
||||
"../var/isFunction"
|
||||
], function( jQuery, toType, isFunction ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -12,7 +14,7 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
|||
bulk = key == null;
|
||||
|
||||
// Sets many values
|
||||
if ( jQuery.type( key ) === "object" ) {
|
||||
if ( toType( key ) === "object" ) {
|
||||
chainable = true;
|
||||
for ( i in key ) {
|
||||
access( elems, fn, i, key[ i ], true, emptyGet, raw );
|
||||
|
@ -22,7 +24,7 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
|||
} else if ( value !== undefined ) {
|
||||
chainable = true;
|
||||
|
||||
if ( !jQuery.isFunction( value ) ) {
|
||||
if ( !isFunction( value ) ) {
|
||||
raw = true;
|
||||
}
|
||||
|
||||
|
|
23
app/bower_components/jquery/src/core/camelCase.js
vendored
Normal file
23
app/bower_components/jquery/src/core/camelCase.js
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
define( [], function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Matches dashed string for camelizing
|
||||
var rmsPrefix = /^-ms-/,
|
||||
rdashAlpha = /-([a-z])/g;
|
||||
|
||||
// Used by camelCase as callback to replace()
|
||||
function fcamelCase( all, letter ) {
|
||||
return letter.toUpperCase();
|
||||
}
|
||||
|
||||
// Convert dashed to camelCase; used by the css and data modules
|
||||
// Support: IE <=9 - 11, Edge 12 - 15
|
||||
// Microsoft forgot to hump their vendor prefix (#9572)
|
||||
function camelCase( string ) {
|
||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
||||
}
|
||||
|
||||
return camelCase;
|
||||
|
||||
} );
|
7
app/bower_components/jquery/src/core/init.js
vendored
7
app/bower_components/jquery/src/core/init.js
vendored
|
@ -2,10 +2,11 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../var/document",
|
||||
"../var/isFunction",
|
||||
"./var/rsingleTag",
|
||||
|
||||
"../traversing/findFilter"
|
||||
], function( jQuery, document, rsingleTag ) {
|
||||
], function( jQuery, document, isFunction, rsingleTag ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -63,7 +64,7 @@ var rootjQuery,
|
|||
for ( match in context ) {
|
||||
|
||||
// Properties of context are called as methods if possible
|
||||
if ( jQuery.isFunction( this[ match ] ) ) {
|
||||
if ( isFunction( this[ match ] ) ) {
|
||||
this[ match ]( context[ match ] );
|
||||
|
||||
// ...and otherwise set as attributes
|
||||
|
@ -106,7 +107,7 @@ var rootjQuery,
|
|||
|
||||
// HANDLE: $(function)
|
||||
// Shortcut for document ready
|
||||
} else if ( jQuery.isFunction( selector ) ) {
|
||||
} else if ( isFunction( selector ) ) {
|
||||
return root.ready !== undefined ?
|
||||
root.ready( selector ) :
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../var/document"
|
||||
], function( jQuery, document ) {
|
||||
"../var/document",
|
||||
"../var/isFunction"
|
||||
], function( jQuery, document, isFunction ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -52,7 +53,7 @@ jQuery.extend( {
|
|||
|
||||
while ( readyCallbacks.length ) {
|
||||
fn = readyCallbacks.shift();
|
||||
if ( jQuery.isFunction( fn ) ) {
|
||||
if ( isFunction( fn ) ) {
|
||||
executeReady( fn );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ define( [
|
|||
"use strict";
|
||||
|
||||
// Strip and collapse whitespace according to HTML spec
|
||||
// https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace
|
||||
// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace
|
||||
function stripAndCollapse( value ) {
|
||||
var tokens = value.match( rnothtmlwhite ) || [];
|
||||
return tokens.join( " " );
|
||||
|
|
20
app/bower_components/jquery/src/core/toType.js
vendored
Normal file
20
app/bower_components/jquery/src/core/toType.js
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
define( [
|
||||
"../var/class2type",
|
||||
"../var/toString"
|
||||
], function( class2type, toString ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function toType( obj ) {
|
||||
if ( obj == null ) {
|
||||
return obj + "";
|
||||
}
|
||||
|
||||
// Support: Android <=2.3 only (functionish RegExp)
|
||||
return typeof obj === "object" || typeof obj === "function" ?
|
||||
class2type[ toString.call( obj ) ] || "object" :
|
||||
typeof obj;
|
||||
}
|
||||
|
||||
return toType;
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue