MCPcopy Create free account
hub / github.com/JsAaron/jQuery / doAnimation

Function doAnimation

2.1.1/test/jquery-1.11.1.js:7461–7469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7459 var empty = jQuery.isEmptyObject( prop ),
7460 optall = jQuery.speed( speed, easing, callback ),
7461 doAnimation = function() {
7462 // Operate on a copy of prop so per-property easing won't be lost
7463 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
7464
7465 // Empty animations, or finishing resolves immediately
7466 if ( empty || jQuery._data( this, "finish" ) ) {
7467 anim.stop( true );
7468 }
7469 };
7470 doAnimation.finish = doAnimation;
7471
7472 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.70

Tested by

no test coverage detected