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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js

Issue 598003002: Fix js style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix js issues. Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js
index 17a18b29564fd1e727d1228f2237be3fe51af33a..46170a2ebafb6136575b0d7f8602439cb972b76c 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_table.js
@@ -30,6 +30,7 @@ cvox.BrailleTable.TABLE_PATH = 'chromevox/background/braille/tables.json';
/**
* Retrieves a list of all available braille tables.
* @param {function(!Array.<cvox.BrailleTable.Table>)} callback
+ * Called asynchronously with an array of tables.
*/
cvox.BrailleTable.getAll = function(callback) {
var url = chrome.extension.getURL(cvox.BrailleTable.TABLE_PATH);
@@ -55,7 +56,7 @@ cvox.BrailleTable.getAll = function(callback) {
* Finds a table in a list of tables by id.
* @param {!Array.<cvox.BrailleTable.Table>} tables tables to search in.
* @param {string} id id of table to find.
- * @return {cvox.BrailleTable.Table}
+ * @return {cvox.BrailleTable.Table} The found table, or null if not found.
*/
cvox.BrailleTable.forId = function(tables, id) {
return tables.filter(function(table) { return table.id === id })[0] || null;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698