()
| 7 | var timerId = __nextId++; |
| 8 | |
| 9 | function check() { |
| 10 | if (!__activeTimers[timerId]) { |
| 11 | return; |
| 12 | } |
| 13 | if (Date.now() - start >= delay) { |
| 14 | callback(); |
| 15 | } else { |
| 16 | requestAnimationFrame(check); |
| 17 | } |
| 18 | } |
| 19 | requestAnimationFrame(check); |
| 20 | |
| 21 | __activeTimers[timerId] = true; |
nothing calls this directly
no outgoing calls
no test coverage detected