12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>FPC-Webassembly Demo creating a button via JOB and fetch Example.json</title>
- <link href="bulma.min.css" rel="stylesheet">
- <script src="BrowserFetch1.js"></script>
- <style>
- .source {
- /* width: 730px; */
- margin: -45px auto;
- font-size: 0.9em;
- }
- .source-inner {
- display: flex;
- justify-content: space-between;
- align-items: center;
- /* width: 482px; */
- }
- </style>
- </head>
- <body>
- <div class="section py-4">
- <h1 class="title is-3">Test Area</h1>
- <div class="box" id="playground">Playground</div>
- </div>
- <div class="section py-4">
- <h1 class="title is-3">Console output</h1>
- <div class="box" id="pasjsconsole"></div>
- </div>
- <!-- <hr> -->
- <div class="section">
- <div class="source">
- <div class="source-inner">
- <div>
- <p>Created using <a target="_blank" href="https://wiki.freepascal.org/pas2js">pas2js.</a> </p>
- <p>Pas2JS Sources: <a target="new" href="BrowserFetch1.lpr">Pas2JS Program</a></p>
- <p>Webassembly Sources: <a target="new" href="WasiFetch1.lpr">FPC Program</a></p>
- </div>
- </div>
- </div>
- </div>
- <script>
- rtl.showUncaughtExceptions=true;
- rtl.run();
- </script>
- </body>
- </html>
|