diff options
author | Jazz <jazzzz@gmail.com> | 2013-06-04 15:42:22 +0200 |
---|---|---|
committer | Jazz <jazzzz@gmail.com> | 2013-06-04 15:42:22 +0200 |
commit | 861cb27e28959b59c9b5bcf77d9aa7ed606322c6 (patch) | |
tree | beed52b4640b1f43b3f1c9e0ba43691014581a42 /src | |
parent | 7421b598714e82a0b923a07817bc35ecdae238fb (diff) |
Check that module is an object instead of exports
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 5c5beb87..ed80c09a 100644 --- a/src/shell.js +++ b/src/shell.js @@ -11,7 +11,7 @@ var ENVIRONMENT_IS_WEB = typeof window === 'object'; var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function'; var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; -if (typeof exports === "object") { +if (typeof module === "object") { module.exports = Module; } |