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

Function d3_timer_flush

explainshell/web/static/js/d3.v3.js:1843–1855  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1841 d3_timer_flush();
1842 };
1843 function d3_timer_flush() {
1844 var t0 = null, t1 = d3_timer_queue, then = Infinity;
1845 while (t1) {
1846 if (t1.flush) {
1847 delete d3_timer_byId[t1.callback.id];
1848 t1 = t0 ? t0.next = t1.next : d3_timer_queue = t1.next;
1849 } else {
1850 then = Math.min(then, t1.then + t1.delay);
1851 t1 = (t0 = t1).next;
1852 }
1853 }
1854 return then;
1855 }
1856 var d3_timer_frame = d3_window.requestAnimationFrame || d3_window.webkitRequestAnimationFrame || d3_window.mozRequestAnimationFrame || d3_window.oRequestAnimationFrame || d3_window.msRequestAnimationFrame || function(callback) {
1857 setTimeout(callback, 17);
1858 };

Callers 2

d3_timer_stepFunction · 0.85
d3.v3.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected