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

Function doAnimation

2.1.1/test/jquery-2.1.1.js:6683–6691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6681 var empty = jQuery.isEmptyObject( prop ),
6682 optall = jQuery.speed( speed, easing, callback ),
6683 doAnimation = function() {
6684 // Operate on a copy of prop so per-property easing won't be lost
6685 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
6686
6687 // Empty animations, or finishing resolves immediately
6688 if ( empty || data_priv.get( this, "finish" ) ) {
6689 anim.stop( true );
6690 }
6691 };
6692 doAnimation.finish = doAnimation;
6693
6694 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.70

Tested by

no test coverage detected