1
0
mirror of https://github.com/quinton-ashley/java2js synced 2024-12-29 10:11:54 +01:00
java2js/ide.js
Quinton Ashley e2ed130148 1.0.3
2021-09-23 23:26:42 -05:00

10 lines
215 B
JavaScript

window.ide = {};
ide.log = document.getElementById('javaConsole');
ide.file0 = document.getElementById('javaFile');
ide.file0.onchange = () => {
ide.log.value = '';
let file = ide.file0.value;
jdk.run(file);
};