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