This commit is contained in:
Ingvar Stepanyan
2020-04-29 15:41:02 +01:00
parent 41e3868a13
commit 60dacff05e
4 changed files with 5 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ async function load(module, imports, maybe_memory) {
async function init(input, maybe_memory) {
if (typeof input === 'undefined') {
input = import.meta.url.replace(/\.js$/, '_bg.wasm');
}
const imports = {};
imports.wbg = {};