parse5
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -85,4 +85,3 @@ //TODO test it | ||
exports.insertText = function (parentNode, text) { | ||
var childNodesLength = parentNode.childNodes.length, | ||
lastChild = childNodesLength && parentNode.childNodes[childNodesLength - 1]; | ||
var lastChild = parentNode.childNodes[parentNode.childNodes.length - 1]; | ||
@@ -89,0 +88,0 @@ if (lastChild && lastChild.nodeName === '#text') |
{ | ||
"name": "parse5", | ||
"description": "Fast full-featured HTML parser for Node. Based on WHATWG HTML5 specification.", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": "Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)", | ||
@@ -9,3 +9,3 @@ "keywords": ["html", "parser", "html5", "WHATWG", "specification", "fast"], | ||
"type": "git", | ||
"url": "https://github.com/inikulin/parse5.git" | ||
"url": "git://github.com/inikulin/parse5.git" | ||
}, | ||
@@ -12,0 +12,0 @@ "main": "./index.js", |
Sorry, the diff of this file is too big to display
2263920
6531