(that)
| 322 | } |
| 323 | |
| 324 | function getCurrentInterval(that) { |
| 325 | const intervals = that._intervals; |
| 326 | const clock = that._clock; |
| 327 | const time = clock.currentTime; |
| 328 | const index = intervals.indexOf(time); |
| 329 | |
| 330 | // Returns undefined if not in range |
| 331 | return intervals.get(index); |
| 332 | } |
| 333 | |
| 334 | function reachedInterval(that, currentInterval, nextInterval) { |
| 335 | const multiplier = getClockMultiplier(that); |
no test coverage detected
searching dependent graphs…