diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-17 11:14:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-17 11:14:58 -0700 |
commit | 99da1340487738c286fbc38f55dbc23aa9c3233a (patch) | |
tree | b708a63b5cd874cea2a069fa8444c92e94f9cf4d /src/shell.js | |
parent | ed40b36281285c39011240c16459d12c7acec9f7 (diff) |
fix closure issues with exception handling, and add test coverage
Diffstat (limited to 'src/shell.js')
-rw-r--r-- | src/shell.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell.js b/src/shell.js index ab54c284..e48be3b0 100644 --- a/src/shell.js +++ b/src/shell.js @@ -115,6 +115,10 @@ if (!Module['arguments']) { } // *** Environment setup code *** +// Closure helpers +Module.print = Module['print']; +Module.printErr = Module['printErr']; + {{BODY}} // {{MODULE_ADDITIONS}} |