Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can.appendChild passed null el #1621
2.2.4, using amd-dev
The required pieces seem to be:
I traced it back as far as live.js, line 92; masterNodeList has one element, a text node with a parent, but the index check makes the call to element.after substitute [text], which has a parentless node. element.after passes the parent (null) to appendChild.
Workaround: make the attribute default to an empty array.