fix: compatibleEdition supported

This commit is contained in:
Rintim 2023-10-20 01:39:19 +08:00
parent 68b8e81dad
commit a5966cd533
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 7 additions and 8 deletions

View File

@ -35256,18 +35256,11 @@
* Type used to declare the place to store css info. * Type used to declare the place to store css info.
* 用来存CSS信息的空间的类型 * 用来存CSS信息的空间的类型
* *
* @typedef {Object} DynamicStyleCache * @typedef {object} DynamicStyleCache
* @property {Rule[]} rules 记录的规则 * @property {Rule[]} rules 记录的规则
* @property {HTMLStyleElement} style 全局Style标签 * @property {HTMLStyleElement} style 全局Style标签
* @property {CSSStyleSheet} sheet Style标签的Sheet * @property {CSSStyleSheet} sheet Style标签的Sheet
*/ */
/**
* Place to store css info.
* 存CSS信息的空间
*
* @type {DynamicStyleCache}
*/
_cache;
/** /**
* Initialize dynamicStyle. * Initialize dynamicStyle.
@ -35283,6 +35276,12 @@
cache.style.id="game.dynamicStyle"; cache.style.id="game.dynamicStyle";
document.head.appendChild(cache.style); document.head.appendChild(cache.style);
cache.sheet=cache.style.sheet; cache.sheet=cache.style.sheet;
/**
* Place to store css info.
* 存CSS信息的空间
*
* @type {DynamicStyleCache}
*/
this._cache=cache; this._cache=cache;
} }