-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (42 loc) · 1.47 KB
/
index.html
File metadata and controls
44 lines (42 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/icon.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Scullion Formatter</title>
<meta property="og:image" content="https://vitineth.github.io/scullion/og-card.png"/>
<meta property="og:title" content="Scullion Formatter"/>
<meta property="og:description"
content="A simple formatter for JSON, SQL, MetricsQL and POJOs with a basic text diff"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<meta property="twitter:card" content="summary"/>
<meta property="twitter:image" content="https://vitineth.github.io/scullion/twitter-card.png"/>
<script src="/wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(
fetch('metricsql.wasm'),
go.importObject,
).then((result) => {
go.run(result.instance);
}).catch((e) => {
console.error('Failed to instantiate the MetricsQL formatter due to an error', e);
});
const go2 = new Go();
WebAssembly.instantiateStreaming(
fetch('antlr.wasm'),
go2.importObject,
).then((result) => {
go2.run(result.instance);
}).catch((e) => {
console.error('Failed to instantiate the Log formatter formatter due to an error', e);
});
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>