diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-03-03 18:24:04 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-03-03 18:24:04 +0700 |
commit | 0ec7107c0ad295e5d105b13c09752903a5d9f6d6 (patch) | |
tree | 8217f045edd8c75891d815c89aebe43d9e51ef28 /src | |
parent | 8e4b696c1ace2f30fe71a9ac0227ed5816fdb1d4 (diff) |
Strict: There is no global this.
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.js | 2 |
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; } |