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

Unified Diff: chrome/browser/resources/settings/controls/settings_radio_group.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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/settings/controls/settings_radio_group.js
diff --git a/chrome/browser/resources/settings/controls/settings_radio_group.js b/chrome/browser/resources/settings/controls/settings_radio_group.js
index c56d803f686de6811eccc0c701a40c4a18a645e6..07549b309aea8e1f27dd6f6a66183a66277b7311 100644
--- a/chrome/browser/resources/settings/controls/settings_radio_group.js
+++ b/chrome/browser/resources/settings/controls/settings_radio_group.js
@@ -21,11 +21,7 @@ Polymer({
/**
* IronSelectableBehavior selected attribute.
*/
- selected: {
- type: String,
- notify: true,
- observer: 'selectedChanged_'
- },
+ selected: {type: String, notify: true, observer: 'selectedChanged_'},
},
hostAttributes: {
@@ -38,7 +34,7 @@ Polymer({
/** @private */
prefChanged_: function() {
- var pref = /** @type {!chrome.settingsPrivate.PrefObject} */(this.pref);
+ var pref = /** @type {!chrome.settingsPrivate.PrefObject} */ (this.pref);
this.selected = Settings.PrefUtil.prefToString(pref);
},
@@ -46,7 +42,7 @@ Polymer({
selectedChanged_: function(selected) {
if (!this.pref)
return;
- this.set('pref.value',
- Settings.PrefUtil.stringToPrefValue(selected, this.pref));
+ this.set(
+ 'pref.value', Settings.PrefUtil.stringToPrefValue(selected, this.pref));
},
});

Powered by Google App Engine
This is Rietveld 408576698