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