From cb8d95c61731e1a8cd240f21da447a55e9bb29d7 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Dec 2023 23:04:22 +0800 Subject: [PATCH] =?UTF-8?q?noname.js=E7=BB=9F=E4=B8=80=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 3 --- noname.js | 27 ++++++++------------------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/game/game.js b/game/game.js index 6852cca3c..76596539d 100644 --- a/game/game.js +++ b/game/game.js @@ -50,9 +50,6 @@ new Promise(resolve => { } window['b' + 'ann' + 'e' + 'dE' + 'x' + 'ten' + 's' + 'i' + 'o' + 'ns'] = ['\u4fa0\u4e49', '\u5168\u6559\u7a0b']; - /** - * @type { Promise } - */ const module = import('../noname.js'); module.then(({ ai, game, get, lib, _status, ui, boot }) => { diff --git a/noname.js b/noname.js index fc5037fe2..944ce9d63 100644 --- a/noname.js +++ b/noname.js @@ -1,19 +1,8 @@ -import { GNC as gnc } from './noname/gnc/index.js'; -import { AI as ai } from './noname/ai/index.js'; -import { Game as game } from './noname/game/index.js'; -import { Get as get } from './noname/get/index.js'; -import { Library as lib } from './noname/library/index.js'; -import { status as _status } from './noname/status/index.js'; -import { UI as ui } from './noname/ui/index.js'; - -export { boot } from './noname/init/index.js'; - -export { - gnc, - ai, - game, - get, - lib, - _status, - ui, -} +export { GNC as gnc } from './noname/gnc/index.js'; +export { AI as ai } from './noname/ai/index.js'; +export { Game as game } from './noname/game/index.js'; +export { Get as get } from './noname/get/index.js'; +export { Library as lib } from './noname/library/index.js'; +export { status as _status } from './noname/status/index.js'; +export { UI as ui } from './noname/ui/index.js'; +export { boot } from './noname/init/index.js'; \ No newline at end of file