Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
31
app/bower_components/jquery/src/effects.js
vendored
31
app/bower_components/jquery/src/effects.js
vendored
|
@ -1,6 +1,8 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./core/camelCase",
|
||||
"./var/document",
|
||||
"./var/isFunction",
|
||||
"./var/rcssNum",
|
||||
"./var/rnothtmlwhite",
|
||||
"./css/var/cssExpand",
|
||||
|
@ -17,8 +19,8 @@ define( [
|
|||
"./manipulation",
|
||||
"./css",
|
||||
"./effects/Tween"
|
||||
], function( jQuery, document, rcssNum, rnothtmlwhite, cssExpand, isHiddenWithinTree, swap,
|
||||
adjustCSS, dataPriv, showHide ) {
|
||||
], function( jQuery, camelCase, document, isFunction, rcssNum, rnothtmlwhite, cssExpand,
|
||||
isHiddenWithinTree, swap, adjustCSS, dataPriv, showHide ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -44,7 +46,7 @@ function createFxNow() {
|
|||
window.setTimeout( function() {
|
||||
fxNow = undefined;
|
||||
} );
|
||||
return ( fxNow = jQuery.now() );
|
||||
return ( fxNow = Date.now() );
|
||||
}
|
||||
|
||||
// Generate parameters to create a standard animation
|
||||
|
@ -148,9 +150,10 @@ function defaultPrefilter( elem, props, opts ) {
|
|||
// Restrict "overflow" and "display" styles during box animations
|
||||
if ( isBox && elem.nodeType === 1 ) {
|
||||
|
||||
// Support: IE <=9 - 11, Edge 12 - 13
|
||||
// Support: IE <=9 - 11, Edge 12 - 15
|
||||
// Record all 3 overflow attributes because IE does not infer the shorthand
|
||||
// from identically-valued overflowX and overflowY
|
||||
// from identically-valued overflowX and overflowY and Edge just mirrors
|
||||
// the overflowX value there.
|
||||
opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
|
||||
|
||||
// Identify a display type, preferring old show/hide data over the CSS cascade
|
||||
|
@ -258,7 +261,7 @@ function propFilter( props, specialEasing ) {
|
|||
|
||||
// camelCase, specialEasing and expand cssHook pass
|
||||
for ( index in props ) {
|
||||
name = jQuery.camelCase( index );
|
||||
name = camelCase( index );
|
||||
easing = specialEasing[ name ];
|
||||
value = props[ index ];
|
||||
if ( Array.isArray( value ) ) {
|
||||
|
@ -383,9 +386,9 @@ function Animation( elem, properties, options ) {
|
|||
for ( ; index < length; index++ ) {
|
||||
result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );
|
||||
if ( result ) {
|
||||
if ( jQuery.isFunction( result.stop ) ) {
|
||||
if ( isFunction( result.stop ) ) {
|
||||
jQuery._queueHooks( animation.elem, animation.opts.queue ).stop =
|
||||
jQuery.proxy( result.stop, result );
|
||||
result.stop.bind( result );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -393,7 +396,7 @@ function Animation( elem, properties, options ) {
|
|||
|
||||
jQuery.map( props, createTween, animation );
|
||||
|
||||
if ( jQuery.isFunction( animation.opts.start ) ) {
|
||||
if ( isFunction( animation.opts.start ) ) {
|
||||
animation.opts.start.call( elem, animation );
|
||||
}
|
||||
|
||||
|
@ -426,7 +429,7 @@ jQuery.Animation = jQuery.extend( Animation, {
|
|||
},
|
||||
|
||||
tweener: function( props, callback ) {
|
||||
if ( jQuery.isFunction( props ) ) {
|
||||
if ( isFunction( props ) ) {
|
||||
callback = props;
|
||||
props = [ "*" ];
|
||||
} else {
|
||||
|
@ -458,9 +461,9 @@ jQuery.Animation = jQuery.extend( Animation, {
|
|||
jQuery.speed = function( speed, easing, fn ) {
|
||||
var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
|
||||
complete: fn || !fn && easing ||
|
||||
jQuery.isFunction( speed ) && speed,
|
||||
isFunction( speed ) && speed,
|
||||
duration: speed,
|
||||
easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
|
||||
easing: fn && easing || easing && !isFunction( easing ) && easing
|
||||
};
|
||||
|
||||
// Go to the end state if fx are off
|
||||
|
@ -487,7 +490,7 @@ jQuery.speed = function( speed, easing, fn ) {
|
|||
opt.old = opt.complete;
|
||||
|
||||
opt.complete = function() {
|
||||
if ( jQuery.isFunction( opt.old ) ) {
|
||||
if ( isFunction( opt.old ) ) {
|
||||
opt.old.call( this );
|
||||
}
|
||||
|
||||
|
@ -651,7 +654,7 @@ jQuery.fx.tick = function() {
|
|||
i = 0,
|
||||
timers = jQuery.timers;
|
||||
|
||||
fxNow = jQuery.now();
|
||||
fxNow = Date.now();
|
||||
|
||||
for ( ; i < timers.length; i++ ) {
|
||||
timer = timers[ i ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue