1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-06 00:14:43 +00:00

Rename/move ldesdl.html out of emscripten.wasm (which gets cleared on rebuild) to src/lde.html

This commit is contained in:
Nick Briggs
2023-12-22 13:18:20 -08:00
parent e82b47a9e7
commit f208fd3302

20
src/lde.html Normal file
View File

@@ -0,0 +1,20 @@
<!doctype html>
<!-- Based on https://github.com/timhutton/sdl-canvas-wasm/blob/main/index.html -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="text-align: center;">
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
</div>
<script type="text/javascript">
var Module = {
arguments: ["full.sysout"],
canvas: (function() { return document.getElementById('canvas'); })()
};
</script>
<script src="ldesdl.js"></script>
</body>
</html>