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

Unified Diff: chrome/browser/resources/chromeos/login/saml_confirm_password.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (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/login/saml_confirm_password.js
diff --git a/chrome/browser/resources/chromeos/login/saml_confirm_password.js b/chrome/browser/resources/chromeos/login/saml_confirm_password.js
index ad1d90e8924b3d2c52ef3a91d6150e84a6c298f3..1a671fec19e3a435f70c42cc217aa90a3b716c34 100644
--- a/chrome/browser/resources/chromeos/login/saml_confirm_password.js
+++ b/chrome/browser/resources/chromeos/login/saml_confirm_password.js
@@ -8,17 +8,10 @@ Polymer({
properties: {
email: String,
- disabled: {
- type: Boolean,
- value: false,
- observer: 'disabledChanged_'
- },
-
- manualInput: {
- type: Boolean,
- value: false,
- observer: 'manualInputChanged_'
- }
+ disabled: {type: Boolean, value: false, observer: 'disabledChanged_'},
+
+ manualInput:
+ {type: Boolean, value: false, observer: 'manualInputChanged_'}
},
ready: function() {
@@ -29,8 +22,11 @@ Polymer({
*/
var pages = this.$.animatedPages;
delete pages._squelchNextFinishEvent;
- Object.defineProperty(pages, '_squelchNextFinishEvent',
- { get: function() { return false; } });
+ Object.defineProperty(pages, '_squelchNextFinishEvent', {
+ get: function() {
+ return false;
+ }
+ });
},
reset: function() {
@@ -102,11 +98,12 @@ Polymer({
manualInputChanged_: function() {
var titleId =
- this.manualInput ? 'manualPasswordTitle' : 'confirmPasswordTitle';
+ this.manualInput ? 'manualPasswordTitle' : 'confirmPasswordTitle';
var passwordInputLabelId =
- this.manualInput ? 'manualPasswordInputLabel' : 'confirmPasswordLabel';
+ this.manualInput ? 'manualPasswordInputLabel' : 'confirmPasswordLabel';
var passwordInputErrorId = this.manualInput ?
- 'manualPasswordMismatch' : 'confirmPasswordIncorrectPassword';
+ 'manualPasswordMismatch' :
+ 'confirmPasswordIncorrectPassword';
this.$.title.textContent = loadTimeData.getString(titleId);
this.$.passwordInput.label = loadTimeData.getString(passwordInputLabelId);

Powered by Google App Engine
This is Rietveld 408576698