Lots of updates
This commit is contained in:
parent
e3cfff8310
commit
39e7af6238
454 changed files with 221168 additions and 36622 deletions
20
app/bower_components/jquery/src/core.js
vendored
20
app/bower_components/jquery/src/core.js
vendored
|
@ -132,7 +132,7 @@ jQuery.extend = jQuery.fn.extend = function() {
|
|||
if ( typeof target === "boolean" ) {
|
||||
deep = target;
|
||||
|
||||
// skip the boolean and the target
|
||||
// Skip the boolean and the target
|
||||
target = arguments[ i ] || {};
|
||||
i++;
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ jQuery.extend = jQuery.fn.extend = function() {
|
|||
target = {};
|
||||
}
|
||||
|
||||
// extend jQuery itself if only one argument is passed
|
||||
// Extend jQuery itself if only one argument is passed
|
||||
if ( i === length ) {
|
||||
target = this;
|
||||
i--;
|
||||
|
@ -199,9 +199,6 @@ jQuery.extend({
|
|||
|
||||
noop: function() {},
|
||||
|
||||
// See test/unit/core.js for details concerning isFunction.
|
||||
// Since version 1.3, DOM methods and functions like alert
|
||||
// aren't supported. They return false on IE (#2968).
|
||||
isFunction: function( obj ) {
|
||||
return jQuery.type(obj) === "function";
|
||||
},
|
||||
|
@ -216,7 +213,8 @@ jQuery.extend({
|
|||
// parseFloat NaNs numeric-cast false positives (null|true|false|"")
|
||||
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
|
||||
// subtraction forces infinities to NaN
|
||||
return !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0;
|
||||
// adding 1 corrects loss of precision from parseFloat (#15100)
|
||||
return !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0;
|
||||
},
|
||||
|
||||
isPlainObject: function( obj ) {
|
||||
|
@ -250,7 +248,7 @@ jQuery.extend({
|
|||
if ( obj == null ) {
|
||||
return obj + "";
|
||||
}
|
||||
// Support: Android < 4.0, iOS < 6 (functionish RegExp)
|
||||
// Support: Android<4.0, iOS<6 (functionish RegExp)
|
||||
return typeof obj === "object" || typeof obj === "function" ?
|
||||
class2type[ toString.call(obj) ] || "object" :
|
||||
typeof obj;
|
||||
|
@ -280,6 +278,7 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
// Convert dashed to camelCase; used by the css and data modules
|
||||
// Support: IE9-11+
|
||||
// Microsoft forgot to hump their vendor prefix (#9572)
|
||||
camelCase: function( string ) {
|
||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
||||
|
@ -479,7 +478,12 @@ jQuery.each("Boolean Number String Function Array Date RegExp Object Error".spli
|
|||
});
|
||||
|
||||
function isArraylike( obj ) {
|
||||
var length = obj.length,
|
||||
|
||||
// Support: iOS 8.2 (not reproducible in simulator)
|
||||
// `in` check used to prevent JIT error (gh-2145)
|
||||
// hasOwn isn't used here due to false negatives
|
||||
// regarding Nodelist length in IE
|
||||
var length = "length" in obj && obj.length,
|
||||
type = jQuery.type( obj );
|
||||
|
||||
if ( type === "function" || jQuery.isWindow( obj ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue