Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(865)

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js b/chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js
index 8d99687437250d815f16c88dfcd763c0d37f9a7d..227efdf23d01dc1da0ee5310477ff4881eb30bbc 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/math_semantic_util.js
@@ -12,7 +12,7 @@ goog.provide('cvox.SemanticUtil');
/**
* @constructor
*/
-cvox.SemanticUtil = function() { };
+cvox.SemanticUtil = function() {};
/**
@@ -125,10 +125,11 @@ cvox.SemanticUtil.purgeNodes = function(nodes) {
var nodeArray = [];
for (var i = 0, node; node = nodes[i]; i++) {
var tagName = cvox.SemanticUtil.tagName(node);
- if (cvox.SemanticUtil.IGNORETAGS.indexOf(tagName) != -1) continue;
+ if (cvox.SemanticUtil.IGNORETAGS.indexOf(tagName) != -1)
+ continue;
if (cvox.SemanticUtil.EMPTYTAGS.indexOf(tagName) != -1 &&
node.childNodes.length == 0)
- continue;
+ continue;
nodeArray.push(node);
}
return nodeArray;

Powered by Google App Engine
This is Rietveld 408576698