@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.cjs.js
CHANGED
|
@@ -5480,13 +5480,15 @@ class DOMUtils {
|
|
|
5480
5480
|
}
|
|
5481
5481
|
const domUtils = new DOMUtils();
|
|
5482
5482
|
|
|
5483
|
+
const version = "2.8.2";
|
|
5484
|
+
|
|
5483
5485
|
class Utils {
|
|
5484
5486
|
windowApi;
|
|
5485
5487
|
constructor(option) {
|
|
5486
5488
|
this.windowApi = new WindowApi(option);
|
|
5487
5489
|
}
|
|
5488
5490
|
/** 版本号 */
|
|
5489
|
-
version =
|
|
5491
|
+
version = version;
|
|
5490
5492
|
addStyle(cssText) {
|
|
5491
5493
|
if (typeof cssText !== "string") {
|
|
5492
5494
|
throw new Error("Utils.addStyle 参数cssText 必须为String类型");
|