diff options
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}} |