@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.356 to 0.0.357
@@ -55,2 +55,3 @@ "use strict"; | ||
}; | ||
var observedFingerprints = []; | ||
var observer = new MutationObserver(callback); | ||
@@ -60,4 +61,2 @@ observer.observe(parentNode, config); | ||
function callback(mutationsList) { | ||
var observedFingerprints = []; | ||
var _iterator = _createForOfIteratorHelper(mutationsList), | ||
@@ -79,3 +78,3 @@ _step; | ||
if (isChain || observedFingerprints.includes(selectedFingerprint)) { | ||
console.log('DISCONNECT'); | ||
console.log('DISCONNECT INSIDE'); | ||
observer.disconnect(); | ||
@@ -82,0 +81,0 @@ } else { |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.356", | ||
"version": "0.0.357", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
11002