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

Unified Diff: ui/webui/resources/js/parse_html_subset.js

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: update c/b/r/ as well Created 4 years 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
« no previous file with comments | « ui/webui/resources/js/load_time_data.js ('k') | ui/webui/resources/js/promise_resolver.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/parse_html_subset.js
diff --git a/ui/webui/resources/js/parse_html_subset.js b/ui/webui/resources/js/parse_html_subset.js
index bd53e8e70572e3010b47ea8a9f74b7261f7712fb..e1e5739204183f91530b57827507e23db3f78cc2 100644
--- a/ui/webui/resources/js/parse_html_subset.js
+++ b/ui/webui/resources/js/parse_html_subset.js
@@ -69,8 +69,9 @@ var parseHtmlSubset = (function() {
}
return function(s, opt_extraTags, opt_extraAttrs) {
- var extraTags =
- (opt_extraTags || []).map(function(str) { return str.toUpperCase(); });
+ var extraTags = (opt_extraTags || []).map(function(str) {
+ return str.toUpperCase();
+ });
var tags = allowedTags.concat(extraTags);
var attrs = merge(allowedAttributes, opt_extraAttrs || {});
« no previous file with comments | « ui/webui/resources/js/load_time_data.js ('k') | ui/webui/resources/js/promise_resolver.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698