File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/node_modules/rrweb/es/rrweb/packages/rrweb/src/record/index.js b/node_modules/rrweb/es/rrweb/packages/rrweb/src/record/index.js
2
- index 8091399..48e8321 100644
2
+ index 8f43354..17a19bb 100755
3
3
--- a/node_modules/rrweb/es/rrweb/packages/rrweb/src/record/index.js
4
4
+++ b/node_modules/rrweb/es/rrweb/packages/rrweb/src/record/index.js
5
- @@ -325 ,7 +325 ,11 @@ function record(options) {
6
- }, hooks);
7
- };
8
- iframeManager.addLoadListener(function (iframeEl) {
9
- - handlers_1 .push(observe_1 (iframeEl.contentDocument));
10
- + try {
11
- + handlers_1 .push(observe_1 (iframeEl.contentDocument));
12
- + } catch (error) {
13
- + console.warn('error in rrweb iframe observer', error);
14
- + }
15
- });
16
- var init_1 = function () {
17
- takeFullSnapshot();
5
+ @@ -362 ,7 +362 ,11 @@ function record(options = {} ) {
6
+ }, hooks);
7
+ };
8
+ iframeManager.addLoadListener((iframeEl) => {
9
+ - handlers .push(observe (iframeEl.contentDocument));
10
+ + try {
11
+ + handlers .push(observe (iframeEl.contentDocument));
12
+ + } catch (error) {
13
+ + console.warn('error in rrweb iframe observer', error);
14
+ + }
15
+ });
16
+ const init = () => {
17
+ takeFullSnapshot();
You can’t perform that action at this time.
0 commit comments