fix shims for process.stderr.write() and process.stdout.write()

This commit is contained in:
Jeff Williams 2012-11-06 20:18:27 -08:00
parent 2634e70d82
commit 37a7fd0f12

View File

@ -1,3 +1,4 @@
/*global env: true, Packages: true */
/**
* @overview A minimal emulation of the standard features of Node.js necessary
* to get JSDoc to run.
@ -117,12 +118,12 @@ process = {
},
stderr: {
write: function(str) {
java.lang.System.err.write( String(str) );
java.lang.System.err.print(str);
}
},
stdout: {
write: function(str) {
java.lang.System.out.write( String(str) );
java.lang.System.out.print(str);
}
}
};