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

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

Issue 426723004: options: Remove a bunch of useless: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/options/startup_overlay.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51f712a0ef0a3a3f709936d090dfbfe58dbaf52c..0a2c81a324ef848fb64080a30ab3752b9a435449 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -58,9 +58,7 @@ cr.define('options', function() {
SyncSetupOverlay.prototype = {
__proto__: OptionsPage.prototype,
- /**
- * Initializes the page.
- */
+ /** @override */
initializePage: function() {
OptionsPage.prototype.initializePage.call(this);
@@ -68,7 +66,7 @@ cr.define('options', function() {
$('basic-encryption-option').onchange =
$('full-encryption-option').onchange = function() {
self.onEncryptionRadioChanged_();
- }
+ };
$('choose-datatypes-cancel').onclick =
$('confirm-everything-cancel').onclick =
$('stop-syncing-cancel').onclick =
@@ -291,11 +289,11 @@ cr.define('options', function() {
$('customize-link').hidden = disabled;
$('customize-link').disabled = disabled;
- $('customize-link').onclick = (disabled ? null : function() {
+ $('customize-link').onclick = disabled ? null : function() {
SyncSetupOverlay.showCustomizePage(null,
DataTypeSelection.SYNC_EVERYTHING);
return false;
- });
+ };
},
/**
« no previous file with comments | « chrome/browser/resources/options/startup_overlay.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698