### Changed

- web worker detection. #44
This commit is contained in:
Yi-Cyuan Chen
2026-07-20 11:07:48 +08:00
parent 801a004b4f
commit 114d18e574
27 changed files with 1555 additions and 1213 deletions
+2 -2
View File
@@ -50,7 +50,7 @@
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) {
@@ -948,7 +948,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Jul 20 2026 10:19:21 GMT+0800 (Taipei Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Jul 20 2026 10:47:41 GMT+0800 (Taipei Standard Time)
</footer>
<script> prettyPrint(); </script>