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

Avoid error with Polymer DOM wrapper. #92

Closed
wants to merge 1 commit into from

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Apr 10, 2014

As a workaround for: Polymer/polymer#346

while (divChildren.length) {
this.removeChild(divChildren[0]);
}
forEach.call(Array.apply(undefined, this.getElementsByTagName("DIV")), this.removeChild, this);
Copy link
Contributor

Choose a reason for hiding this comment

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

ideally we should reference the Polymer issue as a comment in the code so we easily know why we are doing this when coming back to this later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure I added a reference.

@sbrunot
Copy link
Member

sbrunot commented May 2, 2014

Thanks @asudoh. I've merged this PR with commit 81caa76.

@sbrunot sbrunot closed this May 2, 2014
@asudoh asudoh deleted the polymerwrapper branch April 22, 2020 10:26
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