mimium-web 2.2.5 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mimium_web.js +11 -2
- package/mimium_web_bg.wasm +0 -0
- package/package.json +1 -1
package/mimium_web.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { read_file } from './snippets/mimium-lang-b2cae6cacee6e30c/src/utils/fileloader.cjs';
|
|
2
|
+
|
|
1
3
|
let wasm;
|
|
2
4
|
|
|
3
5
|
function addToExternrefTable0(obj) {
|
|
@@ -540,6 +542,13 @@ function __wbg_get_imports() {
|
|
|
540
542
|
const ret = arg0.open();
|
|
541
543
|
return ret;
|
|
542
544
|
};
|
|
545
|
+
imports.wbg.__wbg_readfile_32c5c0f257db2979 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
546
|
+
const ret = read_file(getStringFromWasm0(arg1, arg2));
|
|
547
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
548
|
+
const len1 = WASM_VECTOR_LEN;
|
|
549
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
550
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
551
|
+
}, arguments) };
|
|
543
552
|
imports.wbg.__wbg_requestMIDIAccess_e5de2909f77fdf72 = function() { return handleError(function (arg0, arg1) {
|
|
544
553
|
const ret = arg0.requestMIDIAccess(arg1);
|
|
545
554
|
return ret;
|
|
@@ -590,11 +599,11 @@ function __wbg_get_imports() {
|
|
|
590
599
|
const ret = false;
|
|
591
600
|
return ret;
|
|
592
601
|
};
|
|
593
|
-
imports.wbg.
|
|
602
|
+
imports.wbg.__wbindgen_closure_wrapper137 = function(arg0, arg1, arg2) {
|
|
594
603
|
const ret = makeMutClosure(arg0, arg1, 40, __wbg_adapter_18);
|
|
595
604
|
return ret;
|
|
596
605
|
};
|
|
597
|
-
imports.wbg.
|
|
606
|
+
imports.wbg.__wbindgen_closure_wrapper198 = function(arg0, arg1, arg2) {
|
|
598
607
|
const ret = makeMutClosure(arg0, arg1, 69, __wbg_adapter_21);
|
|
599
608
|
return ret;
|
|
600
609
|
};
|
package/mimium_web_bg.wasm
CHANGED
|
Binary file
|