fangflecked

90s style ARPG
git clone git://moonbender.net/fangflecked
Log | Files | Refs | README

ff.html (655B)


      1 <!DOCTYPE html>
      2 <html>
      3 
      4 <head>
      5     <meta charset="utf-8">
      6     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      7 </head>
      8 
      9 <body>
     10 
     11     <!-- Create the canvas that the C++ code will draw into -->
     12     <canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
     13 
     14     <!-- Allow the C++ to access the canvas element --> 
     15     <script type='text/javascript'>
     16         var Module = {
     17             canvas: (function() { return document.getElementById('canvas'); })()
     18         };
     19     </script>
     20     
     21     <!-- Add the javascript glue code (index.js) as generated by Emscripten -->
     22     <script src="build/ff.js"></script>
     23     
     24 </body>
     25 
     26 </html>
     27