mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 19:32:23 -07: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 imports = odinSetupDefaultImports(wasmMemoryInterface, consoleElement);
|
||||
@@ -1512,6 +1512,6 @@ window.odin = {
|
||||
|
||||
// Functions
|
||||
setupDefaultImports: odinSetupDefaultImports,
|
||||
runWasmCanvas: runWasmCanvas,
|
||||
runWasm: runWasm,
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user