diff --git a/vendor/wasm/js/runtime.js b/vendor/wasm/js/runtime.js index 9b35f4595..52fe43b6c 100644 --- a/vendor/wasm/js/runtime.js +++ b/vendor/wasm/js/runtime.js @@ -1460,7 +1460,7 @@ function odinSetupDefaultImports(wasmMemoryInterface, consoleElement) { }; }; -async function runWasmCanvas(wasmPath, consoleElement, extraForeignImports) { +async function runWasm(wasmPath, consoleElement, extraForeignImports) { let wasmMemoryInterface = new WasmMemoryInterface(); let imports = odinSetupDefaultImports(wasmMemoryInterface, consoleElement); @@ -1512,6 +1512,6 @@ window.odin = { // Functions setupDefaultImports: odinSetupDefaultImports, - runWasmCanvas: runWasmCanvas, + runWasm: runWasm, }; })(); \ No newline at end of file