From 59570ba7fcfb7fb6f499a5c3d93b23efd9b188c6 Mon Sep 17 00:00:00 2001 From: S Nikhill Date: Wed, 5 Aug 2020 15:23:38 +0530 Subject: [PATCH] Replace a Dead Link in Comment (#606) * Update Links in Comments Update a link in comments to point to a better source. Remove a dead link. (Link Removed: http://blog.cdleary.com/2012/01/string-representation-in-spidermonkey/#ropes) --- JSDOMParser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/JSDOMParser.js b/JSDOMParser.js index 30c7d4c..c98560b 100644 --- a/JSDOMParser.js +++ b/JSDOMParser.js @@ -278,7 +278,7 @@ var whitespace = [" ", "\t", "\n", "\r"]; - // See http://www.w3schools.com/dom/dom_nodetype.asp + // See https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType var nodeTypes = { ELEMENT_NODE: 1, ATTRIBUTE_NODE: 2, @@ -705,7 +705,6 @@ } // Using Array.join() avoids the overhead from lazy string concatenation. - // See http://blog.cdleary.com/2012/01/string-representation-in-spidermonkey/#ropes var arr = []; getHTML(this); return arr.join("");