MCPcopy Create free account
hub / github.com/sql-js/sql.js / tick

Function tick

documentation/javascript/application.js:9383–9402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9381 delete tick.elem;
9382 }),
9383 tick = function() {
9384 var currentTime = fxNow || createFxNow(),
9385 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
9386 percent = 1 - ( remaining / animation.duration || 0 ),
9387 index = 0,
9388 length = animation.tweens.length;
9389
9390 for ( ; index < length ; index++ ) {
9391 animation.tweens[ index ].run( percent );
9392 }
9393
9394 deferred.notifyWith( elem, [ animation, percent, remaining ]);
9395
9396 if ( percent < 1 && length ) {
9397 return remaining;
9398 } else {
9399 deferred.resolveWith( elem, [ animation ] );
9400 return false;
9401 }
9402 },
9403 animation = deferred.promise({
9404 elem: elem,
9405 props: jQuery.extend( {}, properties ),

Callers

nothing calls this directly

Calls 1

createFxNowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…