Commit 286bc316 authored by plundblad's avatar plundblad Committed by Commit bot

Fix js style issues in a ChromeVox module.

BUG=394284

Review URL: https://codereview.chromium.org/598003002

Cr-Commit-Position: refs/heads/master@{#296955}
parent 3fce4e99
......@@ -38,6 +38,7 @@ cvox.BrailleTable.COMMON_DEFS_FILENAME_ = 'cvox-common.cti';
/**
* 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) {
function appendCommonFilename(tables) {
......@@ -72,7 +73,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment