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

Unified Diff: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.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
Index: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
diff --git a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
index df8421e06cd761250d7ddc4012f8b5c4fedcdcea..d59203cf669a7ab37c70d9422ff7fd841ba3318a 100644
--- a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
+++ b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
@@ -18,7 +18,12 @@ Polymer({
* The list of profile avatar URLs and labels.
* @type {!Array<!AvatarIcon>}
*/
- avatars: {type: Array, value: function() { return []; }},
+ avatars: {
+ type: Array,
+ value: function() {
+ return [];
+ }
+ },
/**
* The currently selected profile avatar URL. May be a data URI.
@@ -37,5 +42,7 @@ Polymer({
* @return {string} A CSS imageset for multiple scale factors.
* @private
*/
- getIconImageset_: function(iconUrl) { return cr.icon.getImage(iconUrl); },
+ getIconImageset_: function(iconUrl) {
+ return cr.icon.getImage(iconUrl);
+ },
});

Powered by Google App Engine
This is Rietveld 408576698