1 var DOMElement = require("./dom-element.js")
3 module.exports = DocumentFragment
5 function DocumentFragment(owner) {
6 if (!(this instanceof DocumentFragment)) {
7 return new DocumentFragment()
11 this.parentNode = null
12 this.ownerDocument = owner || null
15 DocumentFragment.prototype.type = "DocumentFragment"
16 DocumentFragment.prototype.nodeType = 11
17 DocumentFragment.prototype.nodeName = "#document-fragment"
19 DocumentFragment.prototype.appendChild = DOMElement.prototype.appendChild
20 DocumentFragment.prototype.replaceChild = DOMElement.prototype.replaceChild
21 DocumentFragment.prototype.removeChild = DOMElement.prototype.removeChild
23 DocumentFragment.prototype.toString =
24 function _DocumentFragment_toString() {
25 return this.childNodes.map(function (node) {