File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22<html>
3- <head>
4- <link rel="modulepreload" href="pkg/kalc_plot.js">
5- <link rel="modulepreload" href="pkg/snippets/@@RUPL@@/painter.js">
3+
4+ <head>
5+ <link rel="modulepreload" href="pkg/kalc_plot.js" as="script">
6+ <link rel="modulepreload" href="pkg/snippets/@@RUPL@@/painter.js" as="script">
67 <link rel="preload" href="pkg/kalc_plot_bg.wasm" as="fetch" type="application/wasm" crossorigin>
78 <meta charset="utf-8">
9+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
810 <title>kalc plot</title>
911 <link rel="icon" href="favicon.ico" type="image/x-icon">
10- <style>
11- html, body, canvas {
12- margin: 0;
13- padding: 0;
14- width: 100%;
15- height: 100%;
16- display: block;
17- }
18- </style>
19- </head>
20- <body>
21- <canvas id="canvas"></canvas>
12+ <style>
13+ * {
14+ margin: 0;
15+ padding: 0;
16+ width: 100%;
17+ height: 100%;
18+ display: block;
19+ }
20+ </style>
21+ </head>
22+
23+ <body>
24+ <canvas id="canvas"></canvas>
2225 <noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
23- <script type="module">
24- import init from './pkg/kalc_plot.js';
25- async function run() {
26- await init();
27- }
28- run();
26+ <script type="module" crossorigin="anonymous">
27+ import init from './pkg/kalc_plot.js'; async function run() { await init(); } run();
2928 </script>
30- </body>
29+ </body>
30+
3131</html>
You can’t perform that action at this time.
0 commit comments