MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / doAnimation

Function doAnimation

public/localscripts/calculationQuestion/jquery.js:8348–8358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8346 var empty = jQuery.isEmptyObject( prop ),
8347 optall = jQuery.speed( speed, easing, callback ),
8348 doAnimation = function() {
8349 // Operate on a copy of prop so per-property easing won't be lost
8350 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
8351 doAnimation.finish = function() {
8352 anim.stop( true );
8353 };
8354 // Empty animations, or finishing resolves immediately
8355 if ( empty || data_priv.get( this, "finish" ) ) {
8356 anim.stop( true );
8357 }
8358 };
8359 doAnimation.finish = doAnimation;
8360
8361 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.85

Tested by

no test coverage detected