feat(core): 将Mixly.MJSON调整为Mixly.MJson
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
(() => {
|
||||
|
||||
goog.require('Mixly.MJSON');
|
||||
goog.require('Mixly.MJson');
|
||||
goog.require('Mixly.Config');
|
||||
goog.provide('Mixly.Msg');
|
||||
|
||||
const { Msg, MJSON, Config } = Mixly;
|
||||
const { Msg, MJson, Config } = Mixly;
|
||||
|
||||
const { USER } = Config;
|
||||
|
||||
@@ -15,9 +15,9 @@ Msg.LANG_PATH = {
|
||||
}
|
||||
|
||||
Msg.LANG = {
|
||||
"zh-hans": MJSON.get(Msg.LANG_PATH["zh-hans"]),
|
||||
"zh-hant": MJSON.get(Msg.LANG_PATH["zh-hant"]),
|
||||
"en": MJSON.get(Msg.LANG_PATH["en"])
|
||||
"zh-hans": MJson.get(Msg.LANG_PATH["zh-hans"]),
|
||||
"zh-hant": MJson.get(Msg.LANG_PATH["zh-hant"]),
|
||||
"en": MJson.get(Msg.LANG_PATH["en"])
|
||||
}
|
||||
|
||||
Msg.nowLang = USER.language ?? 'zh-hans';
|
||||
|
||||
@@ -11,7 +11,7 @@ goog.require('Mixly.Msg');
|
||||
goog.require('Mixly.BoardManager');
|
||||
goog.require('Mixly.Config');
|
||||
goog.require('Mixly.Env');
|
||||
goog.require('Mixly.MJSON');
|
||||
goog.require('Mixly.MJson');
|
||||
goog.require('Mixly.Storage');
|
||||
goog.require('Mixly.WebSocket.Socket');
|
||||
goog.provide('Mixly.Setting');
|
||||
@@ -23,7 +23,7 @@ const {
|
||||
BoardManager,
|
||||
Config,
|
||||
Env,
|
||||
MJSON,
|
||||
MJson,
|
||||
Storage,
|
||||
Setting
|
||||
} = Mixly;
|
||||
|
||||
Reference in New Issue
Block a user