aboutsummaryrefslogtreecommitdiff
path: root/src/shell.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-23 15:32:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-23 15:32:43 -0700
commit2ebcf95b0e305f777143e3ad783896c17b769324 (patch)
treee0a60a9c313bf4526bec8fe2029d341302caa2f9 /src/shell.js
parent8c6578568956816cbb518584cbfa1321587727a7 (diff)
parent3eb16db0edc678ca6183b3d0254b925aee575469 (diff)
Merge branch 'incoming' into proxyGL
Diffstat (limited to 'src/shell.js')
-rw-r--r--src/shell.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.js b/src/shell.js
index 279a3461..85b13337 100644
--- a/src/shell.js
+++ b/src/shell.js
@@ -70,6 +70,7 @@ if (ENVIRONMENT_IS_NODE) {
globalEval(read(f));
};
+ Module['thisProgram'] = process['argv'][1];
Module['arguments'] = process['argv'].slice(2);
module['exports'] = Module;