Skip to content

Endless loop #4

Description

@sonny89

I wrote some text or any whitespace character (newline in my case) in the DOM element to render to and this results an endless loop.
For example: <div id='table-target'>text</div>. The firstChild of the div will be a TextNode.
This line of the code results the endless loop:
while (this.el.firstChild) { this.el.remove(this.el.firstChild); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions