mirror of https://github.com/dirtbags/moth.git
try to prevent future bad decisions
This commit is contained in:
parent
eb786ba184
commit
6ff379e0f4
|
@ -7,7 +7,11 @@ const MaxScoreWidth = 90
|
|||
|
||||
/**
|
||||
* Returns a promise that resolves after timeout.
|
||||
*
|
||||
*
|
||||
* This uses setTimeout instead of some other fancy thing like
|
||||
* requestAnimationFrame, because who actually cares about scoreboard update
|
||||
* framerate?
|
||||
*
|
||||
* @param {Number} timeout How long to sleep (milliseconds)
|
||||
* @returns {Promise}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue