@whitesev/utils 2.8.1 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.amd.js +3 -1
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +3 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +3 -1
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/index.ts +3 -0
- package/package.json +4 -2
- package/src/Utils.ts +2 -1
package/dist/index.esm.js
CHANGED
|
@@ -5478,13 +5478,15 @@ class DOMUtils {
|
|
|
5478
5478
|
}
|
|
5479
5479
|
const domUtils = new DOMUtils();
|
|
5480
5480
|
|
|
5481
|
+
const version = "2.8.2";
|
|
5482
|
+
|
|
5481
5483
|
class Utils {
|
|
5482
5484
|
windowApi;
|
|
5483
5485
|
constructor(option) {
|
|
5484
5486
|
this.windowApi = new WindowApi(option);
|
|
5485
5487
|
}
|
|
5486
5488
|
/** 版本号 */
|
|
5487
|
-
version =
|
|
5489
|
+
version = version;
|
|
5488
5490
|
addStyle(cssText) {
|
|
5489
5491
|
if (typeof cssText !== "string") {
|
|
5490
5492
|
throw new Error("Utils.addStyle 参数cssText 必须为String类型");
|