From 861cb27e28959b59c9b5bcf77d9aa7ed606322c6 Mon Sep 17 00:00:00 2001 From: Jazz Date: Tue, 4 Jun 2013 15:42:22 +0200 Subject: Check that module is an object instead of exports --- src/shell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-18-g5258