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

Unified Diff: chrome/browser/resources/sync_setup_overlay.js

Issue 10010019: JS style nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/sync_setup_overlay.js
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
index 9240022e0ae83d094d15da50089b3cd9c9ed6860..3f84fe17676eb37364d282b560d188039558b585 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
cr.define('options', function() {
- const OptionsPage = options.OptionsPage;
+ /** @const */ var OptionsPage = options.OptionsPage;
// Variable to track if a captcha challenge was issued. If this gets set to
// true, it stays that way until we are told about successful login from
@@ -74,7 +74,7 @@ cr.define('options', function() {
/** @inheritDoc */
didShowPage: function() {
- var forceLogin = document.location.hash == "#forceLogin";
+ var forceLogin = document.location.hash == '#forceLogin';
var result = JSON.stringify({'forceLogin': forceLogin});
chrome.send('SyncSetupAttachHandler', [result]);
},

Powered by Google App Engine
This is Rietveld 408576698