1
0
mirror of https://github.com/quinton-ashley/java2js synced 2024-12-29 10:11:54 +01:00
This commit is contained in:
Quinton Ashley 2022-04-06 17:13:39 -05:00
parent a03efa965d
commit 099404d57b
4 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -1,6 +1,6 @@
(async () => {
jdk.log = document.getElementById('javaConsole');
await jdk.init('../jdk');
await jdk.init('./jdk');
let file0 = document.getElementById('javaFile');
file0.onchange = async () => {

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/x-icon" href="./favicon.ico" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<title>java2js demo</title>
<style>
body,
@ -82,7 +82,7 @@
placeholder="Java console, click here to run!"
></textarea>
<script type="text/javascript" src="../jdk.js"></script>
<script type="text/javascript" src="jdk.js"></script>
<script type="text/javascript" src="ide.js"></script>
</body>
</html>

View File

@ -1,6 +1,6 @@
{
"name": "java2js",
"version": "1.2.2",
"version": "1.2.3",
"description": "Converts Java to JavaScript and runs it with a JS JDK",
"main": "jdk.js",
"scripts": {