MCPcopy Create free account
hub / github.com/idank/explainshell / doAnimation

Function doAnimation

explainshell/web/static/js/jquery.js:9119–9129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9117 var empty = jQuery.isEmptyObject( prop ),
9118 optall = jQuery.speed( speed, easing, callback ),
9119 doAnimation = function() {
9120 // Operate on a copy of prop so per-property easing won't be lost
9121 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
9122 doAnimation.finish = function() {
9123 anim.stop( true );
9124 };
9125 // Empty animations, or finishing resolves immediately
9126 if ( empty || jQuery._data( this, "finish" ) ) {
9127 anim.stop( true );
9128 }
9129 };
9130 doAnimation.finish = doAnimation;
9131
9132 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.85

Tested by

no test coverage detected