-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelm-playground.html
More file actions
30 lines (27 loc) · 908 Bytes
/
elm-playground.html
File metadata and controls
30 lines (27 loc) · 908 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Absolute Zero Playground - CNO Explorer</title>
<link rel="stylesheet" href="css/elm-playground.css">
<script src="elm/dist/main.js"></script>
</head>
<body>
<div id="elm-app"></div>
<script>
// Initialize Elm application
const app = Elm.Main.init({
node: document.getElementById('elm-app')
});
// Future: WebSocket connection to Echidna
// app.ports.connectEchidna.subscribe((config) => {
// const ws = new WebSocket('ws://localhost:8080/echidna');
// // Handle WebSocket messages
// });
</script>
<noscript>
<p>This application requires JavaScript to run. Please enable JavaScript in your browser.</p>
</noscript>
</body>
</html>