Skip to content

Commit

Permalink
Report characterDataChanged for removed nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
aartrost committed Jun 15, 2015
1 parent ebfdbf7 commit 7936be7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mutation-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ var MutationProjection = (function () {
var result = [];
for (var i = 0; i < nodes.length; i++) {
var target = nodes[i];
if (2 /* STAYED_IN */ !== this.treeChanges.reachabilityChange(target))

if ([2 /* STAYED_IN */, 5 /* EXITED */].indexOf(this.treeChanges.reachabilityChange(target)) === -1)
continue;

var change = this.treeChanges.get(target);
Expand Down

0 comments on commit 7936be7

Please sign in to comment.