File size: 716 Bytes
00df61d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html><html lang="en-us"><head><meta charset="utf-8"></head>
<body>
<canvas style='display:block; margin:auto;'></canvas>
<script>

#if !MODULARIZE
  var {{{ EXPORT_NAME }}} = {};
#endif

#if WASM == 2
  var supportsWasm = window.WebAssembly && location.search.indexOf('_rwasm=0') < 0;
#endif

  // Depending on the build flags that one uses, different files need to be downloaded
  // to load the compiled page. The right set of files will be expanded to be downloaded
  // via the directive below.
{{{ DOWNLOAD_JS_AND_WASM_FILES }}}

#if SINGLE_FILE
// If we are doing a SINGLE_FILE=1 build, inlined JS runtime code follows here:
{{{ JS_CONTENTS_IN_SINGLE_FILE_BUILD }}}
#endif

</script>
</body>
</html>