simple-dom
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -232,2 +232,16 @@ (function() { | ||
function simple$dom$document$document$fragment$$DocumentFragment() { | ||
this.nodeConstructor(11, '#document-fragment', null); | ||
} | ||
simple$dom$document$document$fragment$$DocumentFragment.prototype._cloneNode = function() { | ||
return new simple$dom$document$document$fragment$$DocumentFragment(); | ||
}; | ||
simple$dom$document$document$fragment$$DocumentFragment.prototype = Object.create(simple$dom$document$node$$default.prototype); | ||
simple$dom$document$document$fragment$$DocumentFragment.prototype.constructor = simple$dom$document$document$fragment$$DocumentFragment; | ||
simple$dom$document$document$fragment$$DocumentFragment.prototype.nodeConstructor = simple$dom$document$node$$default; | ||
var simple$dom$document$document$fragment$$default = simple$dom$document$document$fragment$$DocumentFragment; | ||
function $$document$text$$Text(text) { | ||
@@ -271,16 +285,2 @@ this.nodeConstructor(3, '#text', text); | ||
function $$document$document$fragment$$DocumentFragment() { | ||
this.nodeConstructor(11, '#document-fragment', null); | ||
} | ||
$$document$document$fragment$$DocumentFragment.prototype._cloneNode = function() { | ||
return new $$document$document$fragment$$DocumentFragment(); | ||
}; | ||
$$document$document$fragment$$DocumentFragment.prototype = Object.create(simple$dom$document$node$$default.prototype); | ||
$$document$document$fragment$$DocumentFragment.prototype.constructor = $$document$document$fragment$$DocumentFragment; | ||
$$document$document$fragment$$DocumentFragment.prototype.nodeConstructor = simple$dom$document$node$$default; | ||
var $$document$document$fragment$$default = $$document$document$fragment$$DocumentFragment; | ||
function simple$dom$document$$Document() { | ||
@@ -317,3 +317,3 @@ this.nodeConstructor(9, '#document', null); | ||
simple$dom$document$$Document.prototype.createDocumentFragment = function() { | ||
return new $$document$document$fragment$$default(); | ||
return new simple$dom$document$document$fragment$$default(); | ||
}; | ||
@@ -542,2 +542,3 @@ | ||
Element: simple$dom$document$element$$default, | ||
DocumentFragment: simple$dom$document$document$fragment$$default, | ||
Document: simple$dom$document$$default, | ||
@@ -544,0 +545,0 @@ voidMap: simple$dom$void$map$$default, |
import Node from 'simple-dom/document/node'; | ||
import Element from 'simple-dom/document/element'; | ||
import DocumentFragment from 'simple-dom/document/document-fragment'; | ||
import Document from 'simple-dom/document'; | ||
@@ -11,2 +12,3 @@ import HTMLParser from 'simple-dom/html-parser'; | ||
Element, | ||
DocumentFragment, | ||
Document, | ||
@@ -13,0 +15,0 @@ HTMLParser, |
/* global define:false, module:false */ | ||
import { Node, Element, Document, HTMLParser, HTMLSerializer, voidMap } from './simple-dom'; | ||
import { Node, Element, DocumentFragment, Document, HTMLParser, HTMLSerializer, voidMap } from './simple-dom'; | ||
@@ -16,2 +16,3 @@ (function (root, factory) { | ||
Element: Element, | ||
DocumentFragment: DocumentFragment, | ||
Document: Document, | ||
@@ -18,0 +19,0 @@ voidMap: voidMap, |
{ | ||
"name": "simple-dom", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "A simple JS DOM.", | ||
@@ -5,0 +5,0 @@ "main": "dist/simple-dom.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
312117
2080