Skip to content

Commit

Permalink
Revert "Reset event parent when we redistribute a node."
Browse files Browse the repository at this point in the history
This reverts commit e701c2e.

Turns out to break redistribution. Will have to do more investigation.
  • Loading branch information
arv committed Apr 18, 2013
1 parent 79ff9cf commit 38c3804
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ShadowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@
}

function resetDistributedChildNodes(insertionPoint) {
var oldDistributed = getDistributedChildNodes(insertionPoint);
if (oldDistributed) {
oldDistributed.forEach(function(node) {
eventParentTable.set(node, undefined);
});
}
distributedChildNodesTable.set(insertionPoint, []);
}

Expand Down

0 comments on commit 38c3804

Please sign in to comment.