@whitesev/domutils 1.3.3 → 1.3.4
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 +2 -2
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +2 -2
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/DOMUtils.d.ts +4 -5
- package/package.json +1 -1
- package/src/DOMUtils.ts +9 -10
package/dist/index.system.js
CHANGED
|
@@ -869,7 +869,7 @@ System.register('DOMUtils', [], (function (exports) {
|
|
|
869
869
|
super(option);
|
|
870
870
|
}
|
|
871
871
|
/** 版本号 */
|
|
872
|
-
version = "2024.
|
|
872
|
+
version = "2024.10.19";
|
|
873
873
|
attr(element, attrName, attrValue) {
|
|
874
874
|
let DOMUtilsContext = this;
|
|
875
875
|
if (typeof element === "string") {
|
|
@@ -1033,7 +1033,7 @@ System.register('DOMUtils', [], (function (exports) {
|
|
|
1033
1033
|
return element.innerHTML;
|
|
1034
1034
|
}
|
|
1035
1035
|
else {
|
|
1036
|
-
if (html instanceof
|
|
1036
|
+
if (html instanceof Element) {
|
|
1037
1037
|
html = html.innerHTML;
|
|
1038
1038
|
}
|
|
1039
1039
|
if ("innerHTML" in element) {
|