Skip to content

Commit f3e79b7

Browse files
author
Philippe Elsass
committed
Removed this.node null check guard.
1 parent fb8775d commit f3e79b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/fragment/fragment.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ Fragment.prototype.destroy = function () {
181181
if (this.parentFrag) {
182182
this.parentFrag.childFrags.$remove(this)
183183
}
184-
if (this.node) {
185-
this.node.__vfrag__ = null
186-
}
184+
this.node.__vfrag__ = null
187185
this.unlink()
188186
}
189187

0 commit comments

Comments
 (0)