From af35d7f20bae7b84eeb646c62bd27902149557fa Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:25:29 +0200 Subject: [PATCH] fix: oops --- README.md | 4 ++-- build.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c073e12..30a7047 100644 --- a/README.md +++ b/README.md @@ -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: ```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.) var env = Internals.apply(new Environment()); @@ -26,4 +26,4 @@ System.out.println(awaitable.await()); ## 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. diff --git a/build.js b/build.js index 549ebf4..b42b6f4 100644 --- a/build.js +++ b/build.js @@ -169,7 +169,7 @@ async function jar(conf, project, mainClass) { await Promise.all([ (async () => { 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), ]);