Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
gtag('js', new Date());
gtag('config', 'G-LKETQQ110J');
</script>
<link rel="stylesheet" href="https://pyscript.net/releases/2025.2.2/core.css" />
<script type="module" src="https://pyscript.net/releases/2025.2.2/core.js"></script>
<link rel="stylesheet" href="https://pyscript.net/releases/2025.2.3/core.css" />
<script type="module" src="https://pyscript.net/releases/2025.2.3/core.js"></script>
</head>

<body>
Expand All @@ -58,7 +58,7 @@
import code
code.interact()
</script>
<script type="mpy" src="./main.py" async></script>
<script type="mpy" src="./main.py"></script>
</div>

<div class="old-terminal" id="old-terminal">
Expand Down Expand Up @@ -380,16 +380,5 @@ <h2>PyScript is...</h2>
heap.load("758475466");
</script>
<!-- END HEAP INTEGRATION -->
<script>
// It's a hack.
try{
var sab = new SharedArrayBuffer(4);
if(sab===undefined)throw new Error('not supported')
}
catch(e){
document.getElementById("new-terminal").style.display = "none";
document.getElementById("old-terminal").style.display = "block";
}
</script>
</body>
</html>