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 376fda3 commit d04a0d5Copy full SHA for d04a0d5
src/js-executor/execute-es-module.js
@@ -12,7 +12,7 @@ export async function executeWasmCodeWithStdlib(container, jsCode, wasmCode) {
12
}
13
14
function execute(container, jsCode, wasmCode) {
15
- container.wasmCode = Uint8Array.fromBase64(wasmCode);
+ container.wasmCode = Uint8Array.from(atob(wasmCode), c => c.charCodeAt(0));
16
return executeJs(container, jsCode);
17
18
0 commit comments