2024-01-30 12:38:20 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
2024-01-30 14:15:49 +00:00
|
|
|
<title>SwingSet3 (CheerpJ)</title>
|
|
|
|
<script src="https://cjrtnc.leaningtech.com/3.0rc2/cj3loader.js"></script>
|
|
|
|
<style>
|
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#container {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100svh;
|
|
|
|
}
|
|
|
|
</style>
|
2024-01-30 12:38:20 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-01-30 14:15:49 +00:00
|
|
|
<div id="container"></div>
|
|
|
|
<script type="module">
|
|
|
|
await cheerpjInit();
|
|
|
|
cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
|
|
|
|
await cheerpjRunJar("/app/SwingSet3.jar");
|
|
|
|
</script>
|
2024-01-30 12:38:20 +00:00
|
|
|
</body>
|
2024-01-30 14:15:49 +00:00
|
|
|
</html>
|