Comparing version 0.12.5 to 0.12.6
@@ -13,3 +13,3 @@ //Tree adapter for parse5 HTML-parser | ||
exports.createElement = function (tagName, attrs, namespaceURI) { | ||
exports.createElement = function (tagName, namespaceURI, attrs) { | ||
return { | ||
@@ -81,2 +81,10 @@ type: tagName === 'script' || tagName === 'style' ? tagName : 'tag', | ||
exports.setQuirksMode = function (document) { | ||
document.quirksMode = true; | ||
}; | ||
exports.isQuirksMode = function (document) { | ||
return document.quirksMode; | ||
}; | ||
var appendChild = exports.appendChild = function (parentNode, newNode) { | ||
@@ -83,0 +91,0 @@ var prev = parentNode.children[parentNode.children.length]; |
@@ -13,3 +13,3 @@ { | ||
"keywords": ["htmlparser", "jquery", "selector", "scraper"], | ||
"version": "0.12.5", | ||
"version": "0.12.6", | ||
"repository": { | ||
@@ -25,3 +25,3 @@ "type": "git", | ||
"cheerio-select": "*", | ||
"parse5": ">=0.5.2", | ||
"parse5": ">=0.5.4", | ||
"htmlparser2": "3.1.1", | ||
@@ -28,0 +28,0 @@ "underscore": "~1.4", |
Sorry, the diff of this file is not supported yet
272982
4756
Updatedparse5@>=0.5.4