修复当前导入模块报错的bug
This commit is contained in:
parent
75c8ba0738
commit
e16406ee59
15
noname.js
15
noname.js
|
@ -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
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { GNC as gnc } from "./gnc.js";
|
||||||
export class Game {
|
export class Game {
|
||||||
static promises = {
|
static promises = {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
import { Promises } from "./initialization/promises.js";
|
import { Promises } from "./initialization/promises.js";
|
||||||
|
import { GNC as gnc } from "../gnc.js";
|
||||||
|
import { Library as lib } from "../library.js";
|
||||||
|
|
||||||
export class Initialization {
|
export class Initialization {
|
||||||
static promises = Promises;
|
static promises = Promises;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { selected } from "./ui/selected.js";
|
||||||
class HTMLWindowElement extends HTMLDivElement {
|
class HTMLWindowElement extends HTMLDivElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
customElements.define("window", HTMLWindowElement, {
|
customElements.define("noname-window", HTMLWindowElement, {
|
||||||
extends: "div"
|
extends: "div"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue