mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
refactor: move skeleton save to async modules
This commit is contained in:
parent
9b739f6e64
commit
995f71d4ed
2 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
});
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue