mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
wasm: add glue JS code
The file wasm_glue.js was copied from the Go wasm port and was modified, most importantly to match the TinyGo calling convention.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
<meta charset="utf-8"/>
|
||||
<title>Go WebAssembly</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<script src="wasm.js" async></script>
|
||||
<script src="../../../targets/wasm_exec.js" defer></script>
|
||||
<script src="wasm.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>WebAssembly</h1>
|
||||
|
||||
Reference in New Issue
Block a user