mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 07:13:14 +00:00
Rename to runWasm
This commit is contained in:
4
vendor/wasm/js/runtime.js
vendored
4
vendor/wasm/js/runtime.js
vendored
@@ -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,
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user