about summary refs log tree commit diff
path: root/users/kranzes/wasm-hello-world/src/index.html
blob: d6366c8ee8b1b29166a6ba7380e7e281e9707126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
  <head>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
  </head>
  <body>
    <script type="module">
      import init, { hello_world } from './wasm_hello_world.js';

      async function run() {
        await init();

	hello_world();
      }

      run();
    </script>
  </body>
</html>