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 () => { (async () => {
jdk.log = document.getElementById('javaConsole'); jdk.log = document.getElementById('javaConsole');
await jdk.init('../jdk'); await jdk.init('./jdk');
let file0 = document.getElementById('javaFile'); let file0 = document.getElementById('javaFile');
file0.onchange = async () => { file0.onchange = async () => {

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <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> <title>java2js demo</title>
<style> <style>
body, body,
@ -82,7 +82,7 @@
placeholder="Java console, click here to run!" placeholder="Java console, click here to run!"
></textarea> ></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> <script type="text/javascript" src="ide.js"></script>
</body> </body>
</html> </html>

View File

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