Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Aug 31, 2023
1 parent a7b835c commit 92d15ec
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ember_debug/libs/render-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ class InElementSupportProvider {
}

patch() {
if (this.debugRenderTree.__inspector_patched) {
this.debugRenderTree.__inspector_patched = this;
return;
}
const self = this;

const captureNode = this.debugRenderTree.captureNode;
Expand Down Expand Up @@ -134,14 +130,9 @@ class InElementSupportProvider {
pushRemoteElement,
didAppendNode,
};

this.debugRenderTree.__inspector_patched = this;
}

teardown() {
if (this.debugRenderTree.__inspector_patched !== this) {
return;
}
if (!this.debugRenderTreeFunctions) {
return;
}
Expand Down

0 comments on commit 92d15ec

Please sign in to comment.