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

Unified Diff: chrome/browser/resources/chromeos/login/offline_gaia.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/offline_gaia.js
diff --git a/chrome/browser/resources/chromeos/login/offline_gaia.js b/chrome/browser/resources/chromeos/login/offline_gaia.js
index 2b61208bb17ff866e7cac3892c12b983940379a5..30983ac3c27710592da31a5ebc6798a6da363112 100644
--- a/chrome/browser/resources/chromeos/login/offline_gaia.js
+++ b/chrome/browser/resources/chromeos/login/offline_gaia.js
@@ -5,30 +5,17 @@
Polymer((function() {
var DEFAULT_EMAIL_DOMAIN = '@gmail.com';
- var TRANSITION_TYPE = {
- FORWARD: 0,
- BACKWARD: 1,
- NONE: 2
- };
+ var TRANSITION_TYPE = {FORWARD: 0, BACKWARD: 1, NONE: 2};
return {
is: 'offline-gaia',
properties: {
- disabled: {
- type: Boolean,
- value: false
- },
+ disabled: {type: Boolean, value: false},
- showEnterpriseMessage: {
- type: Boolean,
- value: false
- },
+ showEnterpriseMessage: {type: Boolean, value: false},
- domain: {
- type: String,
- observer: 'onDomainChanged_'
- },
+ domain: {type: String, observer: 'onDomainChanged_'},
emailDomain: String
},
@@ -41,8 +28,11 @@ Polymer((function() {
*/
var pages = this.$.animatedPages;
delete pages._squelchNextFinishEvent;
- Object.defineProperty(pages, '_squelchNextFinishEvent',
- { get: function() { return false; } });
+ Object.defineProperty(pages, '_squelchNextFinishEvent', {
+ get: function() {
+ return false;
+ }
+ });
},
focus: function() {
@@ -58,7 +48,7 @@ Polymer((function() {
onDomainChanged_: function() {
this.$.managedBy.textContent =
- loadTimeData.getStringF('enterpriseInfoMessage', this.domain);
+ loadTimeData.getStringF('enterpriseInfoMessage', this.domain);
this.showEnterpriseMessage = !!this.domain.length;
},
@@ -157,9 +147,8 @@ Polymer((function() {
}
var isForward = transitionType === TRANSITION_TYPE.FORWARD;
var isRTL = this.isRTL_();
- this.$.animatedPages.entryAnimation =
- 'slide-from-' + (isForward === isRTL ? 'left' : 'right') +
- '-animation';
+ this.$.animatedPages.entryAnimation = 'slide-from-' +
+ (isForward === isRTL ? 'left' : 'right') + '-animation';
this.$.animatedPages.exitAnimation =
'slide-' + (isForward === isRTL ? 'right' : 'left') + '-animation';
}
« no previous file with comments | « chrome/browser/resources/chromeos/login/offline_ad_login.js ('k') | chrome/browser/resources/chromeos/login/oobe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698