kripken/emscripten — pull request #1264 by inolen (2013-06-05 23:47:08+00:00)
Title: Misc SDL fixes

In addition to the changes in the commit message, I also converted the various document event handlers over to using addEventListener as opposed to assigning directly to the on property.

While I'm not relying on this anymore, I believe at the time I was experimenting with some event binding in my shell that I didn't want to be inadvertently hulk-smashed by the SDL layer's event binding.