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)
pull/618/head
S Nikhill 4 years ago committed by GitHub
parent b1d15c0ef9
commit 59570ba7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -278,7 +278,7 @@
var whitespace = [" ", "\t", "\n", "\r"]; 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 = { var nodeTypes = {
ELEMENT_NODE: 1, ELEMENT_NODE: 1,
ATTRIBUTE_NODE: 2, ATTRIBUTE_NODE: 2,
@ -705,7 +705,6 @@
} }
// Using Array.join() avoids the overhead from lazy string concatenation. // Using Array.join() avoids the overhead from lazy string concatenation.
// See http://blog.cdleary.com/2012/01/string-representation-in-spidermonkey/#ropes
var arr = []; var arr = [];
getHTML(this); getHTML(this);
return arr.join(""); return arr.join("");

Loading…
Cancel
Save