UNPKG

funcunit

Version:
22 lines 835 B
/*can-simple-dom@0.3.0#simple-dom/document/document-fragment*/ define([ 'exports', 'module', './node' ], function (exports, module, _node) { 'use strict'; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _Node = _interopRequireDefault(_node); function DocumentFragment(ownerDocument) { this.nodeConstructor(11, '#document-fragment', null, ownerDocument); } DocumentFragment.prototype._cloneNode = function () { return this.ownerDocument.createDocumentFragment(); }; DocumentFragment.prototype = Object.create(_Node['default'].prototype); DocumentFragment.prototype.constructor = DocumentFragment; DocumentFragment.prototype.nodeConstructor = _Node['default']; module.exports = DocumentFragment; });