@appsurify-testmap/rrdom 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/rrdom.cjs CHANGED
@@ -138,10 +138,13 @@ function inspectInlineEventHandlers() {
138
138
  });
139
139
  });
140
140
  }
141
- if (document.readyState === "complete" || document.readyState === "interactive") {
142
- inspectInlineEventHandlers();
143
- } else {
144
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
141
+ try {
142
+ if (document.readyState === "complete" || document.readyState === "interactive") {
143
+ inspectInlineEventHandlers();
144
+ } else {
145
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
146
+ }
147
+ } catch (error) {
145
148
  }
146
149
  function getDefaultExportFromCjs(x2) {
147
150
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;