provide EOL constant (#219)

This commit is contained in:
Jeff Williams 2012-10-20 11:09:56 -07:00
parent 5295803fc7
commit d0c702a313

8
rhino_modules/os.js Normal file
View File

@ -0,0 +1,8 @@
/**
* Partial Rhino implementation of Node.js' `os` module.
* @module os
* @author Jeff Williams <jeffrey.l.williams@gmail.com>
* @see http://nodejs.org/api/os.html
*/
exports.EOL = java.lang.System.getProperty('line.separator') + '';