()
| 137 | } |
| 138 | |
| 139 | function premid(): void { |
| 140 | if (timerDebug) console.time("premid"); |
| 141 | const premidSecondsLeft = document.querySelector("#premidSecondsLeft"); |
| 142 | |
| 143 | if (premidSecondsLeft !== null) { |
| 144 | premidSecondsLeft.innerHTML = (Config.time - Time.get()).toString(); |
| 145 | } |
| 146 | if (timerDebug) console.timeEnd("premid"); |
| 147 | } |
| 148 | |
| 149 | function monkey(wpmAndRaw: { wpm: number; raw: number }): void { |
| 150 | if (timerDebug) console.time("update monkey"); |