diff --git a/rhino_modules/os.js b/rhino_modules/os.js new file mode 100644 index 00000000..899853d9 --- /dev/null +++ b/rhino_modules/os.js @@ -0,0 +1,8 @@ +/** + * Partial Rhino implementation of Node.js' `os` module. + * @module os + * @author Jeff Williams + * @see http://nodejs.org/api/os.html + */ + +exports.EOL = java.lang.System.getProperty('line.separator') + '';