refactor: move skeleton save to async modules

This commit is contained in:
Miodec 2024-06-12 17:23:50 +02:00
parent 9b739f6e64
commit 995f71d4ed
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,6 @@ import * as FunboxList from "./test/funbox/funbox-list";
import Konami from "konami";
import { envConfig } from "./constants/env-config";
import * as ServerConfiguration from "./ape/server-configuration";
import * as Skeleton from "./utils/skeleton";
if (Misc.isDevEnvironment()) {
$("footer .currentVersion .text").text("localhost");
@ -114,6 +113,4 @@ $(document).ready(() => {
}
});
}
Skeleton.save("commandLine");
});

View file

@ -1,6 +1,9 @@
import * as Loader from "../elements/loader";
import * as Notifications from "../elements/notifications";
import { createErrorMessage } from "./misc";
import * as Skeleton from "../utils/skeleton";
Skeleton.save("commandLine");
export async function getCommandline(): Promise<
typeof import("../commandline/commandline.js")