summaryrefslogtreecommitdiff
path: root/2026/examples/js/index.html
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-18 16:15:46 -0400
committerLLLL Colonq <llll@colonq>2026-06-18 16:15:46 -0400
commitc9fc2ca532c5219a087924ece1e38be19c25f006 (patch)
tree7c9d8e32617fab6e6179fe70893a3027714ea4e7 /2026/examples/js/index.html
parent068f3b9dc0522b03af534479cfa300a720ae86fa (diff)
Update
Diffstat (limited to '2026/examples/js/index.html')
-rw-r--r--2026/examples/js/index.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/2026/examples/js/index.html b/2026/examples/js/index.html
deleted file mode 100644
index f52c9c9..0000000
--- a/2026/examples/js/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!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.0, user-scalable=no">
- <title>In Between The Iframes</title>
- <style>
- * {
- margin: 0px;
- padding: 0px;
- }
- body {
- font-size: 70px;
- }
- #game-test {
- width: 100%;
- height: 100%;
- }
- </style>
- <script type="module">
- console.log(window.innerWidth);
- window.addEventListener("message", ev => {
- switch (ev.data.op) {
- case "start":
- window.parent.postMessage({op: "started"});
- setTimeout(() => {
- window.parent.postMessage({op: "done", win: true});
- }, 5000);
- break;
- default: console.log(`unknown event: ${ev}`); break;
- }
- });
- window.parent.postMessage({op: "ready"});
- </script>
- </head>
- <body>
- hello from the js example
- </body>
-</html>