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

Unified Diff: chrome/browser/resources/settings/people_page/fingerprint_list.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/people_page/fingerprint_list.js
diff --git a/chrome/browser/resources/settings/people_page/fingerprint_list.js b/chrome/browser/resources/settings/people_page/fingerprint_list.js
index 474bb6c080eff7469c4b7355f8a5e67b23ef2888..2fbc3d8a1d1a1d6819aba51ac95884faff32c1d7 100644
--- a/chrome/browser/resources/settings/people_page/fingerprint_list.js
+++ b/chrome/browser/resources/settings/people_page/fingerprint_list.js
@@ -96,9 +96,11 @@ Polymer({
ripple.simulatedRipple();
// Flash the background.
- listItem.animate({
- backgroundColor: ['var(--google-grey-300)', 'white'],
- }, FLASH_DURATION_MS);
+ listItem.animate(
+ {
+ backgroundColor: ['var(--google-grey-300)', 'white'],
+ },
+ FLASH_DURATION_MS);
});
},
@@ -124,11 +126,10 @@ Polymer({
* @private
*/
onFingerprintDeleteTapped_: function(e) {
- this.browserProxy_.removeEnrollment(e.model.index).then(
- function(success) {
- if (success)
- this.updateFingerprintsList_();
- }.bind(this));
+ this.browserProxy_.removeEnrollment(e.model.index).then(function(success) {
+ if (success)
+ this.updateFingerprintsList_();
+ }.bind(this));
},
/**
@@ -136,8 +137,8 @@ Polymer({
* @private
*/
onFingerprintLabelChanged_: function(e) {
- this.browserProxy_.changeEnrollmentLabel(e.model.index, e.model.item).then(
- function(success) {
+ this.browserProxy_.changeEnrollmentLabel(e.model.index, e.model.item)
+ .then(function(success) {
if (success)
this.updateFingerprintsList_();
}.bind(this));

Powered by Google App Engine
This is Rietveld 408576698