[next] Ditch handy shortcuts for good (#1537)

This commit is contained in:
Andrea Giammarchi
2023-06-15 17:08:28 +02:00
committed by GitHub
parent 6284c02032
commit 6df5905b2b
33 changed files with 101 additions and 84 deletions

View File

@@ -17,7 +17,7 @@
<script type="module" src="../esm/index.js"></script>
</head>
<body>
<script type="lua" config="./fetch.toml">
<script type="wasmoon" config="./fetch.toml">
local function read_file(path)
local file = io.open(path, "rb")
if not file then return nil end
@@ -32,6 +32,6 @@
print(read_file('/a.py'))
end
</script>
<button lua-click="print_version(event)">lua version</button>
<button wasmoon-click="print_version(event)">wasmoon version</button>
</body>
</html>