mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 12:02:56 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
18 lines
No EOL
480 B
JavaScript
18 lines
No EOL
480 B
JavaScript
/**
|
|
* 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 = String( java.lang.System.getProperty('line.separator') );
|
|
|
|
// clearly not accurate, but probably good enough
|
|
exports.platform = function() {
|
|
if ( String(java.lang.System.getProperty('os.name')).match(/^[Ww]in/) ) {
|
|
return 'win32';
|
|
}
|
|
else {
|
|
return 'linux';
|
|
}
|
|
}; |