fix: oops

This commit is contained in:
TopchetoEU 2024-01-10 11:25:29 +02:00
parent cfa0e001b9
commit af35d7f20b
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ JScript is an engine, capable of running EcmaScript 5, written entirely in Java.
The following is going to execute a simple javascript statement: The following is going to execute a simple javascript statement:
```java ```java
var engine = new Engine(false); var engine = new Engine();
// Initialize a standard environment, with implementations of most basic standard libraries (Object, Array, Symbol, etc.) // Initialize a standard environment, with implementations of most basic standard libraries (Object, Array, Symbol, etc.)
var env = Internals.apply(new Environment()); var env = Internals.apply(new Environment());
@ -26,4 +26,4 @@ System.out.println(awaitable.await());
## NOTE: ## NOTE:
To setup the typescript bundle in your sources, run `node build.js init-ts`. This will download the latest version of typescript, minify it, and add it to your src/assets folder. If you are going to work with the `node build.js debug|release` command, this is not a necessary step. To setup the typescript bundle in your sources, run `node build.js init-ts`. This will download the latest version of typescript, minify it, and add it to your src folder. If you are going to work with the `node build.js debug|release` command, this is not a necessary step.

View File

@ -169,7 +169,7 @@ async function jar(conf, project, mainClass) {
await Promise.all([ await Promise.all([
(async () => { (async () => {
await copy('src', 'dst/classes', v => !v.endsWith('.java')); await copy('src', 'dst/classes', v => !v.endsWith('.java'));
// await downloadTypescript('dst/classes/me/topchetoeu/jscript/utils/assets/js/ts.js'); await downloadTypescript('dst/classes/me/topchetoeu/jscript/utils/assets/js/ts.js');
})(), })(),
compileJava(conf), compileJava(conf),
]); ]);