mirror of
https://github.com/emn178/js-md5.git
synced 2026-08-12 20:31:43 +08:00
+1
-1
@@ -29,7 +29,7 @@ var md5$1 = {exports: {}};
|
||||
if (root.JS_MD5_NO_WINDOW) {
|
||||
WINDOW = false;
|
||||
}
|
||||
var WEB_WORKER = !WINDOW && typeof self === 'object';
|
||||
var WEB_WORKER = typeof WorkerGlobalScope !== 'undefined' && typeof self !== 'undefined' && self instanceof WorkerGlobalScope;
|
||||
/* istanbul ignore next */
|
||||
var NODE_JS = !root.JS_MD5_NO_NODE_JS && !WINDOW && typeof process === 'object' && process.versions && process.versions.node;
|
||||
if (NODE_JS) {
|
||||
|
||||
Reference in New Issue
Block a user