mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix shims for process.stderr.write() and process.stdout.write()
This commit is contained in:
parent
2634e70d82
commit
37a7fd0f12
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user