@appsurify-testmap/rrweb-snapshot 2.1.2-alpha.1 → 2.1.2-alpha.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/rrweb-snapshot.cjs +7 -4
- package/dist/rrweb-snapshot.cjs.map +1 -1
- package/dist/rrweb-snapshot.js +7 -4
- package/dist/rrweb-snapshot.js.map +1 -1
- package/dist/rrweb-snapshot.umd.cjs +7 -4
- package/dist/rrweb-snapshot.umd.cjs.map +2 -2
- package/dist/rrweb-snapshot.umd.min.cjs +1 -1
- package/dist/rrweb-snapshot.umd.min.cjs.map +2 -2
- package/package.json +3 -3
package/dist/rrweb-snapshot.cjs
CHANGED
|
@@ -816,10 +816,13 @@ function inspectInlineEventHandlers() {
|
|
|
816
816
|
});
|
|
817
817
|
});
|
|
818
818
|
}
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
819
|
+
try {
|
|
820
|
+
if (document.readyState === "complete" || document.readyState === "interactive") {
|
|
821
|
+
inspectInlineEventHandlers();
|
|
822
|
+
} else {
|
|
823
|
+
document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
|
|
824
|
+
}
|
|
825
|
+
} catch (error) {
|
|
823
826
|
}
|
|
824
827
|
let _id = 1;
|
|
825
828
|
const tagNameRegex = new RegExp("[^a-z0-9-_:]");
|