mirror of
https://github.com/python/cpython.git
synced 2025-07-17 08:15:19 +00:00
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)
This commit is contained in:
parent
a8e333d79a
commit
1df9449db2
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
<meta name="author" content="Katie Bell">
|
<meta name="author" content="Katie Bell">
|
||||||
<meta name="description" content="Simple REPL for Python WASM">
|
<meta name="description" content="Simple REPL for Python WASM">
|
||||||
<title>wasm-python terminal</title>
|
<title>wasm-python terminal</title>
|
||||||
<link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin/>
|
<link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
padding: 6px 18px;
|
padding: 6px 18px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin></script>
|
<script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
class WorkerManager {
|
class WorkerManager {
|
||||||
constructor(workerURL, standardIO, readyCallBack) {
|
constructor(workerURL, standardIO, readyCallBack) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue