aboutsummaryrefslogtreecommitdiff
path: root/src/shell.js
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-03-03 18:24:04 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-03-03 18:24:04 +0700
commit0ec7107c0ad295e5d105b13c09752903a5d9f6d6 (patch)
tree8217f045edd8c75891d815c89aebe43d9e51ef28 /src/shell.js
parent8e4b696c1ace2f30fe71a9ac0227ed5816fdb1d4 (diff)
Strict: There is no global this.
Diffstat (limited to 'src/shell.js')
-rw-r--r--src/shell.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.js b/src/shell.js
index 84844c85..65f7b923 100644
--- a/src/shell.js
+++ b/src/shell.js
@@ -124,7 +124,7 @@ else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
}
if (ENVIRONMENT_IS_WEB) {
- this['{{{ EXPORT_NAME }}}'] = Module;
+ window['{{{ EXPORT_NAME }}}'] = Module;
} else {
Module['load'] = importScripts;
}