Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Export 'console' into child context.

  • Loading branch information...
commit 3cd733ec1df946a1dc55b5fcde7388097ac0f6a2 1 parent a937ba7
@pgriess authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/webworker-child.js
View
1  lib/webworker-child.js
@@ -153,6 +153,7 @@ var workerCtx = {};
workerCtx.global = workerCtx;
workerCtx.process = process;
workerCtx.require = require;
+workerCtx.console = console;
workerCtx.__filename = scriptLoc.pathname;
workerCtx.__dirname = path.dirname(scriptLoc.pathname);
workerCtx.setTimeout = setTimeout;
Please sign in to comment.
Something went wrong with that request. Please try again.