Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShadyDOM: use a linked-list for tree accessors #3112

Merged
merged 18 commits into from
Dec 16, 2015
Merged

Conversation

sorvell
Copy link
Contributor

@sorvell sorvell commented Nov 30, 2015

Fixes #2645.

*/
removeChild: function(node) {
if (dom(node).parentNode !== this.node) {
console.warn('The node to be removed is not a child of this node',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We throw above on L70, but just warn here?

@kevinpschaaf
Copy link
Member

LGTM

kevinpschaaf added a commit that referenced this pull request Dec 16, 2015
ShadyDOM: use a linked-list for tree accessors
@kevinpschaaf kevinpschaaf merged commit 273ab0f into master Dec 16, 2015
@kevinpschaaf kevinpschaaf deleted the shady-linked branch December 16, 2015 01:09
@kevinpschaaf kevinpschaaf restored the shady-linked branch December 16, 2015 01:09
@kevinpschaaf kevinpschaaf deleted the shady-linked branch December 16, 2015 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants