MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / start

Function start

d3-3.2.8/d3.js:7718–7729  ·  view source on GitHub ↗
(elapsed)

Source from the content-addressed store, hash-verified

7716 if (delay <= elapsed) return start(elapsed);
7717 d3_timer_replace(start, delay, time);
7718 function start(elapsed) {
7719 if (lock.active > id) return stop();
7720 lock.active = id;
7721 transition.event && transition.event.start.call(node, d, i);
7722 transition.tween.forEach(function(key, value) {
7723 if (value = value.call(node, d, i)) {
7724 tweened.push(value);
7725 }
7726 });
7727 if (tick(elapsed)) return 1;
7728 d3_timer_replace(tick, 0, time);
7729 }
7730 function tick(elapsed) {
7731 if (lock.active !== id) return stop();
7732 var t = (elapsed - delay) / duration, e = ease(t), n = tweened.length;

Callers 1

d3_transitionNodeFunction · 0.85

Calls 3

stopFunction · 0.85
tickFunction · 0.85
d3_timer_replaceFunction · 0.85

Tested by

no test coverage detected