kripken/emscripten — pull request #2148 by TV4Fun (2014-02-21 12:46:25+00:00)
Title: Fix bugs in HTML5 events when using SAFE_HEAP

This fixes a SAFE_HEAP_STORE is not a function error when using mouse events
and a segfault that occurs when the beforeunload callback returns 0.