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:
parent
ac113e62ab
commit
535313bf26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue