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

Function doAnimation

2.1.1/test/other.js:4090–4098  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4088 var empty = jQuery.isEmptyObject( prop ),
4089 optall = jQuery.speed( speed, easing, callback ),
4090 doAnimation = function() {
4091 // Operate on a copy of prop so per-property easing won't be lost
4092 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
4093
4094 // Empty animations, or finishing resolves immediately
4095 if ( empty || data_priv.get( this, "finish" ) ) {
4096 anim.stop( true );
4097 }
4098 };
4099 doAnimation.finish = doAnimation;
4100
4101 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.70

Tested by

no test coverage detected