Index: chrome/browser/resources/options/chromeos/stylus_overlay.js |
diff --git a/chrome/browser/resources/options/chromeos/stylus_overlay.js b/chrome/browser/resources/options/chromeos/stylus_overlay.js |
index 9fa277fa1789a012afb581e661c6f52e5b20b70c..3fa77f6215c7fd9cf96d17af73eeb058aa7336a3 100644 |
--- a/chrome/browser/resources/options/chromeos/stylus_overlay.js |
+++ b/chrome/browser/resources/options/chromeos/stylus_overlay.js |
@@ -9,8 +9,8 @@ cr.define('options', function() { |
* @extends {options.SettingsDialog} |
*/ |
function StylusOverlay() { |
- options.SettingsDialog.call(this, 'stylus-overlay', |
- loadTimeData.getString('stylusOverlayTabTitle'), |
+ options.SettingsDialog.call( |
+ this, 'stylus-overlay', loadTimeData.getString('stylusOverlayTabTitle'), |
'stylus-overlay', |
assertInstanceof($('stylus-confirm'), HTMLButtonElement), |
assertInstanceof($('stylus-cancel'), HTMLButtonElement)); |
@@ -47,8 +47,8 @@ cr.define('options', function() { |
options.SettingsDialog.prototype.initializePage.call(this); |
// Disable some elements when enable stylus tools pref is false. |
- Preferences.getInstance().addEventListener('settings.enable_stylus_tools', |
- function(e) { |
+ Preferences.getInstance().addEventListener( |
+ 'settings.enable_stylus_tools', function(e) { |
this.stylusToolsEnabled_ = e.value.value; |
$('launch-palette-on-eject-input').disabled = !e.value.value; |
this.updateNoteTakingAppsSelectDisabled_(); |
@@ -58,8 +58,8 @@ cr.define('options', function() { |
.addEventListener( |
'change', this.handleNoteTakingAppSelected_.bind(this)); |
- var stylusAppsUrl = "https://play.google.com/store/apps/collection/" + |
- "promotion_30023cb_stylus_apps"; |
+ var stylusAppsUrl = 'https://play.google.com/store/apps/collection/' + |
+ 'promotion_30023cb_stylus_apps'; |
$('stylus-find-more-link').onclick = function(event) { |
chrome.send('showPlayStoreApps', [stylusAppsUrl]); |
}; |
@@ -151,7 +151,5 @@ cr.define('options', function() { |
]); |
// Export |
- return { |
- StylusOverlay: StylusOverlay |
- }; |
+ return {StylusOverlay: StylusOverlay}; |
}); |