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

Unified Diff: chrome/browser/resources/gaia_auth/offline.js

Issue 10440061: Remaining style fixes from http://codereview.chromium.org/10443024/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/resources/gaia_auth/offline.html ('k') | chrome/browser/resources/gaia_auth/success.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/gaia_auth/offline.js
diff --git a/chrome/browser/resources/gaia_auth/offline.js b/chrome/browser/resources/gaia_auth/offline.js
index 8fe08f6333f22e3b29c2cb764ac63cbcd874d3b0..6255394490dbf1369819b591d3c9723909b3ce10 100644
--- a/chrome/browser/resources/gaia_auth/offline.js
+++ b/chrome/browser/resources/gaia_auth/offline.js
@@ -10,17 +10,12 @@ function load() {
var params = getUrlSearchParams(location.search);
// Setup localized strings.
- var signInTitle = $('sign-in-title');
- var emailLabel = $('email-label');
- var passwordLabel = $('password-label');
- var submitButton = $('submit-button');
- var errorSpan = $('errormsg-alert');
-
- signInTitle.textContent = decodeURIComponent(params['stringSignIn']);
- emailLabel.textContent = decodeURIComponent(params['stringEmail']);
- passwordLabel.textContent = decodeURIComponent(params['stringPassword']);
- submitButton.value = decodeURIComponent(params['stringSignIn']);
- errorSpan.textContent = decodeURIComponent(params['stringError']);
+ $('sign-in-title').textContent = decodeURIComponent(params['stringSignIn']);
+ $('email-label').textContent = decodeURIComponent(params['stringEmail']);
+ $('password-label').textContent =
+ decodeURIComponent(params['stringPassword']);
+ $('submit-button').value = decodeURIComponent(params['stringSignIn']);
+ $('errormsg-alert').textContent = decodeURIComponent(params['stringError']);
// Setup actions.
var form = $('offline-login-form');
« no previous file with comments | « chrome/browser/resources/gaia_auth/offline.html ('k') | chrome/browser/resources/gaia_auth/success.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698