Permalink
Browse files

Export 'console' into child context.

  • Loading branch information...
1 parent a937ba7 commit 3cd733ec1df946a1dc55b5fcde7388097ac0f6a2 @pgriess committed Aug 19, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/webworker-child.js
View
@@ -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;

0 comments on commit 3cd733e

Please sign in to comment.