index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>FPC-Webassembly library and Pas2JS Demo</title>
  7. <link href="bulma.min.css" rel="stylesheet">
  8. <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> -->
  9. <script src="demolibadd.js"></script>
  10. <style>
  11. .source {
  12. /* width: 730px; */
  13. margin: -45px auto;
  14. font-size: 0.9em;
  15. }
  16. .source-inner {
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. /* width: 482px; */
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <div class="section pb-4">
  26. <h1 class="title is-4">FPC compiled wasm library output:</h1>
  27. <div class="box" id="pasjsconsole"></div>
  28. </div>
  29. <!-- <hr> -->
  30. <div class="section">
  31. <div class="source">
  32. <div class="source-inner">
  33. <div>
  34. <p>Created using &nbsp; <a target="_blank" href="https://wiki.freepascal.org/pas2js">pas2js.</a> </p>
  35. <p>Pas2JS Sources: &nbsp; <a target="new" href="demowasienv.lpr">Pas2JS Program</a></p>
  36. <p>Webassembly Sources: &nbsp; <a target="new" href="helloworld.pp">FPC Program</a></p>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <script>
  42. rtl.showUncaughtExceptions=true;
  43. rtl.run();
  44. </script>
  45. </body>
  46. </html>