From a5966cd5336e51062afff70a3220f6e30e8d2ff4 Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 20 Oct 2023 01:39:19 +0800 Subject: [PATCH] fix: compatibleEdition supported --- game/game.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/game/game.js b/game/game.js index a51fe628d..066b33c66 100644 --- a/game/game.js +++ b/game/game.js @@ -35256,18 +35256,11 @@ * Type used to declare the place to store css info. * 用来存CSS信息的空间的类型 * - * @typedef {Object} DynamicStyleCache + * @typedef {object} DynamicStyleCache * @property {Rule[]} rules 记录的规则 * @property {HTMLStyleElement} style 全局Style标签 * @property {CSSStyleSheet} sheet Style标签的Sheet */ - /** - * Place to store css info. - * 存CSS信息的空间 - * - * @type {DynamicStyleCache} - */ - _cache; /** * Initialize dynamicStyle. @@ -35283,6 +35276,12 @@ cache.style.id="game.dynamicStyle"; document.head.appendChild(cache.style); cache.sheet=cache.style.sheet; + /** + * Place to store css info. + * 存CSS信息的空间 + * + * @type {DynamicStyleCache} + */ this._cache=cache; }