Add files
This commit is contained in:
commit
bb80829159
18195 changed files with 2122994 additions and 0 deletions
53
509bba0_unpacked_with_node_modules/~/os-browserify/browser.js
generated
Executable file
53
509bba0_unpacked_with_node_modules/~/os-browserify/browser.js
generated
Executable file
|
@ -0,0 +1,53 @@
|
|||
exports.endianness = function () { return 'LE' };
|
||||
|
||||
exports.hostname = function () {
|
||||
if (typeof location !== 'undefined') {
|
||||
return location.hostname
|
||||
}
|
||||
else return '';
|
||||
};
|
||||
|
||||
exports.loadavg = function () { return [] };
|
||||
|
||||
exports.uptime = function () { return 0 };
|
||||
|
||||
exports.freemem = function () {
|
||||
return Number.MAX_VALUE;
|
||||
};
|
||||
|
||||
exports.totalmem = function () {
|
||||
return Number.MAX_VALUE;
|
||||
};
|
||||
|
||||
exports.cpus = function () { return [] };
|
||||
|
||||
exports.type = function () { return 'Browser' };
|
||||
|
||||
exports.release = function () {
|
||||
if (typeof navigator !== 'undefined') {
|
||||
return navigator.appVersion;
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
||||
exports.networkInterfaces
|
||||
= exports.getNetworkInterfaces
|
||||
= function () { return {} };
|
||||
|
||||
exports.arch = function () { return 'javascript' };
|
||||
|
||||
exports.platform = function () { return 'browser' };
|
||||
|
||||
exports.tmpdir = exports.tmpDir = function () {
|
||||
return '/tmp';
|
||||
};
|
||||
|
||||
exports.EOL = '\n';
|
||||
|
||||
|
||||
|
||||
//////////////////
|
||||
// WEBPACK FOOTER
|
||||
// ./~/os-browserify/browser.js
|
||||
// module id = 2623
|
||||
// module chunks = 4
|
Loading…
Add table
Add a link
Reference in a new issue