App.html 959 B

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <!-- Web tab icon -->
  7. <link rel="icon" href="./../../../assets/gs_logo.png">
  8. <!-- Bootstrap core CSS -->
  9. <link href="./../../../assets/dist/css/bootstrap.min.css" rel="stylesheet">
  10. <!-- Examlpes CSS -->
  11. <link href="./../../examples.css" rel="stylesheet">
  12. </head>
  13. <body class="body">
  14. <!-- Create the canvas that the C++ code will draw into -->
  15. <canvas id="canvas" oncontextmenu="event.preventDefault()" class="canvas"></canvas>
  16. <!-- Allow the C++ to access the canvas element -->
  17. <script type='text/javascript'>
  18. var Module = {
  19. canvas: (function() { return document.getElementById('canvas'); })()
  20. };
  21. </script>
  22. <!-- Add the javascript glue code (index.js) as generated by Emscripten -->
  23. <script src="App.js"></script>
  24. </body>
  25. </html>