johnmccutchan/game_loop — pull request #46 by davidB (2013-09-13 15:15:16+00:00)
Title: add GameLoopHtml.onVisibilityChange to be similar as Fullscreen

May be api for Visibility, Fullscreen, PointerLock should be refactor to follow same api :
* flatten in GameLoop like Fullscreen
* delegate into a instance like PointerLock with :
* enable
* onChange
* value (active / inactive)