(root, childNodes)
| 707 | }; |
| 708 | |
| 709 | function append(root, childNodes) { |
| 710 | var length = childNodes.length; |
| 711 | |
| 712 | while (length--) { |
| 713 | root.appendChild(childNodes[0]); |
| 714 | } |
| 715 | } |
| 716 | |
| 717 | function create(element) { |
| 718 | return element === FRAGMENT ? document.createDocumentFragment() : document.createElementNS('http://www.w3.org/1999/xhtml', element); |