mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Rename to runWasm
This commit is contained in:
Vendored
+2
-2
@@ -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 wasmMemoryInterface = new WasmMemoryInterface();
|
||||||
|
|
||||||
let imports = odinSetupDefaultImports(wasmMemoryInterface, consoleElement);
|
let imports = odinSetupDefaultImports(wasmMemoryInterface, consoleElement);
|
||||||
@@ -1512,6 +1512,6 @@ window.odin = {
|
|||||||
|
|
||||||
// Functions
|
// Functions
|
||||||
setupDefaultImports: odinSetupDefaultImports,
|
setupDefaultImports: odinSetupDefaultImports,
|
||||||
runWasmCanvas: runWasmCanvas,
|
runWasm: runWasm,
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
Reference in New Issue
Block a user