We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
previous lighthouse ticket #1125 by arno
Hi, Element.insert(node) does not work when node is a text node:
var el = new Element('a', { href: 'link'}); var text = document.createTextNode('content'); el.insert(text);
will fail with exception: "insert is undefined" on line 2054 for 1.7_rc2
that's because
if (Object.isString(insertions) || Object.isNumber(insertions) || Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
previous lighthouse ticket #1125
by arno
Hi,
Element.insert(node) does not work when node is a text node:
will fail with exception:
"insert is undefined" on line 2054 for 1.7_rc2
that's because
The text was updated successfully, but these errors were encountered: