We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a35a4 commit 0b238aeCopy full SHA for 0b238ae
src/lib/crypto/kimchi_bindings/js/node_js/node_backend.js
@@ -34,6 +34,16 @@ var wasm_ready = function(wasm) {
34
wasm.wbg_rayon_start_worker(worker_threads.workerData.receiver);
35
};
36
37
+// This function was previously exported by JSOO but was removed.
38
+// It is now copied here.
39
+// Provides: caml_js_export_var
40
+function caml_js_export_var (){
41
+ if(typeof module !== 'undefined' && module && module.exports)
42
+ return module.exports
43
+ else
44
+ return globalThis;
45
+}
46
+
47
// Provides: startWorkers
48
// Requires: worker_threads, _workers, caml_js_export_var
49
var startWorkers = (function() {
0 commit comments