Index: chrome/browser/resources/options/language_options.js |
diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js |
index 889929f3bc1765f341aa1caf94b505ac2eda6368..4e4e00de33b4a3579781c2fd3f46761287fd5797 100644 |
--- a/chrome/browser/resources/options/language_options.js |
+++ b/chrome/browser/resources/options/language_options.js |
@@ -84,13 +84,14 @@ cr.define('options', function() { |
LanguageOptions.prototype = { |
__proto__: Page.prototype, |
- /* For recording the prospective language (the next locale after relaunch). |
+ /** |
+ * For recording the prospective language (the next locale after relaunch). |
* @type {?string} |
* @private |
*/ |
prospectiveUiLanguageCode_: null, |
- /* |
+ /** |
* Map from language code to spell check dictionary download status for that |
* language. |
* @type {Array} |
@@ -912,7 +913,7 @@ cr.define('options', function() { |
* @param {Event} e Change event. |
* @private |
*/ |
- updateEnableSpellCheck_: function() { |
+ updateEnableSpellCheck_: function(e) { |
var value = !$('enable-spell-check').checked; |
$('language-options-spell-check-language-button').disabled = value; |
if (!cr.IsMac) |
@@ -1298,7 +1299,7 @@ cr.define('options', function() { |
} |
}, |
- /* |
+ /** |
* Converts the language code for Translation. There are some differences |
* between the language set for Translation and that for Accept-Language. |
* @param {string} languageCode The language code like 'fr'. |