Skip to content

Commit e614e49

Browse files
authored
Update to 2025-2-3 release. (#82)
1 parent ae7c715 commit e614e49

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

index.html

+3-14
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
gtag('js', new Date());
3434
gtag('config', 'G-LKETQQ110J');
3535
</script>
36-
<link rel="stylesheet" href="https://pyscript.net/releases/2025.2.2/core.css" />
37-
<script type="module" src="https://pyscript.net/releases/2025.2.2/core.js"></script>
36+
<link rel="stylesheet" href="https://pyscript.net/releases/2025.2.3/core.css" />
37+
<script type="module" src="https://pyscript.net/releases/2025.2.3/core.js"></script>
3838
</head>
3939

4040
<body>
@@ -58,7 +58,7 @@
5858
import code
5959
code.interact()
6060
</script>
61-
<script type="mpy" src="./main.py" async></script>
61+
<script type="mpy" src="./main.py"></script>
6262
</div>
6363

6464
<div class="old-terminal" id="old-terminal">
@@ -380,16 +380,5 @@ <h2>PyScript is...</h2>
380380
heap.load("758475466");
381381
</script>
382382
<!-- END HEAP INTEGRATION -->
383-
<script>
384-
// It's a hack.
385-
try{
386-
var sab = new SharedArrayBuffer(4);
387-
if(sab===undefined)throw new Error('not supported')
388-
}
389-
catch(e){
390-
document.getElementById("new-terminal").style.display = "none";
391-
document.getElementById("old-terminal").style.display = "block";
392-
}
393-
</script>
394383
</body>
395384
</html>

0 commit comments

Comments
 (0)