()
| 1922 | } |
| 1923 | }; |
| 1924 | function d3_timer_step() { |
| 1925 | var now = d3_timer_mark(), delay = d3_timer_sweep() - now; |
| 1926 | if (delay > 24) { |
| 1927 | if (isFinite(delay)) { |
| 1928 | clearTimeout(d3_timer_timeout); |
| 1929 | d3_timer_timeout = setTimeout(d3_timer_step, delay); |
| 1930 | } |
| 1931 | d3_timer_interval = 0; |
| 1932 | } else { |
| 1933 | d3_timer_interval = 1; |
| 1934 | d3_timer_frame(d3_timer_step); |
| 1935 | } |
| 1936 | } |
| 1937 | d3.timer.flush = function() { |
| 1938 | d3_timer_mark(); |
| 1939 | d3_timer_sweep(); |
nothing calls this directly
no test coverage detected