修复当前导入模块报错的bug

This commit is contained in:
shijian 2023-12-13 01:37:51 +08:00
parent 75c8ba0738
commit e16406ee59
4 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,15 @@
import { ai } from './noname/ai.js';
import { Game as game } from './noname/game.js';
import { Get as get } from './noname/get.js';
import { Library as lib } from './noname/library.js';
import { status as _status } from './noname/status.js';
import { UI as ui } from './noname/ui.js';
export {
ai,
game,
get,
lib,
_status,
ui
}

View File

@ -1,3 +1,4 @@
import { GNC as gnc } from "./gnc.js";
export class Game {
static promises = {
/**

View File

@ -1,4 +1,6 @@
import { Promises } from "./initialization/promises.js";
import { GNC as gnc } from "../gnc.js";
import { Library as lib } from "../library.js";
export class Initialization {
static promises = Promises;

View File

@ -5,7 +5,7 @@ import { selected } from "./ui/selected.js";
class HTMLWindowElement extends HTMLDivElement {
}
customElements.define("window", HTMLWindowElement, {
customElements.define("noname-window", HTMLWindowElement, {
extends: "div"
});