Remove outdated comments re goog.dom

This commit is contained in:
Peter Robins
2016-07-01 08:56:24 +00:00
parent 6d41e87ff5
commit 1775a5aeea
2 changed files with 0 additions and 3 deletions

View File

@@ -50,7 +50,6 @@ ol.xml.getAllTextContent_ = function(node, normalizeWhitespace, accumulator) {
if (node.nodeType == Node.CDATA_SECTION_NODE ||
node.nodeType == Node.TEXT_NODE) {
if (normalizeWhitespace) {
// FIXME understand why goog.dom.getTextContent_ uses String here
accumulator.push(String(node.nodeValue).replace(/(\r\n|\r|\n)/g, ''));
} else {
accumulator.push(node.nodeValue);