kripken/emscripten — pull request #1556 by ToadKing (2013-08-25 04:34:11+00:00)
Title: Ability to get current canvas size

For non-SDL applications, there is currently no way to get the canvas size when it changes (app goes fullscreen). This implements emscripten_get_canvas_size which can get the current canvas size and whether the canvas is fullscreen or not.