Skip to content

Commit

Permalink
2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eccs0103 committed May 27, 2024
1 parent 48311ae commit 00c5b5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion information/script.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
"use strict";

import { Elemental } from "../scripts/structure.js";
import { ArchiveManager } from "../scripts/modules/storage.js";
import { Elemental, Settings } from "../scripts/structure.js";

//#region Initialize
const managerSettings = await ArchiveManager.construct(`${navigator.dataPath}.Elements`, Settings);
const board = Elemental.Board.self;
const divElementsContainer = await window.ensure(() => document.getElement(HTMLDivElement, `div#elements-container`));
const templateElementFragment = await window.ensure(() => document.getElement(HTMLTemplateElement, `template#element-fragment`));
const templateAbilityFragment = await window.ensure(() => document.getElement(HTMLTemplateElement, `template#ability-fragment`));
//#endregion
//#region Main
navigator.colorScheme = managerSettings.data.colorScheme;

await window.load(Promise.withSignal((signal, resolve, reject) => window.ensure(() => {
const scriptElements = document.createElement(`script`);
scriptElements.type = `module`;
Expand Down

0 comments on commit 00c5b5c

Please sign in to comment.