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; |