mirror of
https://github.com/leaningtech/cheerpj-meta.git
synced 2025-03-15 01:54:48 +01:00
commit
096fb760e2
@ -3,7 +3,25 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<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>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<script type="module">
|
||||
await cheerpjInit();
|
||||
cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
|
||||
await cheerpjRunJar("/app/SwingSet3.jar");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user