1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Undefine console in node.js env

This commit is contained in:
Joshua Peek 2012-05-20 12:26:27 -05:00
parent ac113e62ab
commit 535313bf26

View file

@ -1,4 +1,4 @@
(function(program, execJS) { execJS(program) })(function(module, exports, require) { #{source}
(function(program, execJS) { execJS(program) })(function(module, exports, require, console) { #{source}
}, function(program) {
var output, print = function(string) {
process.stdout.write('' + string);