Skip to content

Conversation

cyisfor
Copy link

@cyisfor cyisfor commented Mar 25, 2016

Leftover bad links to detached/moved nodes. A few times I think a link back was needed, to remove it from the list. Some last/first child nodes not getting updated.

user added 3 commits March 25, 2016 07:35
Leftover bad links to detached/moved nodes. A few times I think a link back was needed, to remove it from the list. Some last/first child nodes not getting updated.
insertAfter was creating cycles, by not setting next.prev to prev!

A better solution would be a setLink function, that if set to next, set the destination's next.prev.next to this, set the destination's next.prev to this, etc, to make sure no dangling links to old places were around. But... this should work...?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant