fenomas / game-inputs

A simple module for abstracting key/mouse input for games. Demo:
http://fenomas.github.io/game-inputs/
20 stars 6 forks source link

Fix document.readyState check #11

Closed TheToto closed 2 years ago

TheToto commented 2 years ago

document.readyState can be "interactive". In this case, DOMContentLoaded was already triggered.

fenomas commented 2 years ago

Thanks!