aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-23 16:23:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-23 16:23:14 -0800
commit91de0c9e7848d370d3113592c6d22b5b22c4ef09 (patch)
tree4d23506d40049940ab8c2f7e08a79b5f9d3e677e
parent9d8957c9209dd3f0d62519a47963b4968585ac72 (diff)
export the runtime; fixes #2041
-rw-r--r--src/preamble.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index d415b87e..9a65b092 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -6,6 +6,8 @@
{{RUNTIME}}
+Module['Runtime'] = Runtime;
+
#if ASM_JS
#if RESERVED_FUNCTION_POINTERS
function jsCall() {