mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Rename runtime.js to odin.js
This commit is contained in:
Vendored
+3
-3
@@ -6,9 +6,9 @@ The `js_wasm32` target assumes that the WASM output will be ran within a web bro
|
|||||||
|
|
||||||
## Example for `js_wasm32`
|
## Example for `js_wasm32`
|
||||||
|
|
||||||
```js
|
```html
|
||||||
<!-- Copy `vendor:wasm/js/runtime.js` into your web server -->
|
<!-- Copy `vendor:wasm/js/odin.js` into your web server -->
|
||||||
<script type="text/javascript" src="runtime.js"></script>
|
<script type="text/javascript" src="odin.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
odin.runWasm(pathToWasm, consolePreElement);
|
odin.runWasm(pathToWasm, consolePreElement);
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user