Permalink
Browse files

Ensure module/exports/require are undefined in node runner

  • Loading branch information...
1 parent bd4c71c commit a5b3299ba70c594e88b4b3bf6698425e11bb7918 @sstephenson committed Mar 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/execjs/support/node_runner.js
@@ -1,4 +1,4 @@
-(function(program, execJS) { execJS(program) })(function() { #{source}
+(function(program, execJS, module, exports, require) { execJS(program) })(function() { #{source}
}, function(program) {
var output, print = function(string) {
process.stdout.write('' + string);

0 comments on commit a5b3299

Please sign in to comment.