dialog.js подгружается init.js

This commit is contained in:
Gravit 2018-11-01 19:39:53 +07:00
parent 4ac26bf3d8
commit ad8ce5e74e
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 3 additions and 2 deletions

View file

@ -57,3 +57,5 @@ function start(args) {
LogHelper.debug("Launching JavaFX application");
javafx.application.Application.launch(LauncherApp.class, args);
}
launcher.loadScript("dialog/dialog.js");

View file

@ -203,9 +203,8 @@ public void start(String... args) throws Throwable {
Launcher.modulesManager.initModules();
// Load init.js script
loadScript(Launcher.API_SCRIPT_FILE);
loadScript(Launcher.INIT_SCRIPT_FILE);
loadScript(Launcher.CONFIG_SCRIPT_FILE);
loadScript("dialog/dialog.js");
loadScript(Launcher.INIT_SCRIPT_FILE);
LogHelper.info("Invoking start() function");
Invocable invoker = (Invocable) engine;
if (Launcher.isUsingAvanguard()) {