jsdoc/rhino/os.js
Jeff Williams a2ce6a79ad update dependencies
Includes patch from @TimothyGu to rhino/os.js and rhino/rhino-shim.js.
2015-01-22 09:00:32 -08:00

15 lines
342 B
JavaScript

/*global java */
/**
* 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
*/
'use strict';
exports.EOL = String( java.lang.System.getProperty('line.separator') );
exports.platform = function() {
return process.platform;
};