On Fri, Jan 16, 2015 at 8:47 AM, Glen Huang <curvedm...@gmail.com> wrote: > Another way to do this is that in mutation method macro, prevent `oldNode` > from being added to the doc frag, and after that, insert the doc frag before > `oldNode`, finally remove `oldNode`. No recursive finding of next sibling is > needed this way.
But then d2 would no longer be present? I don't really see a good reason to complicate the algorithm for this scenario, personally. -- https://annevankesteren.nl/