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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/liblouis.js

Issue 924083004: Shorten Closure template notation from Array.<*> to Array<*> in cvox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js b/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
index 41be602282ade268b422b610d97d426365710ff7..431ead4c2c7e6d74594185f1008d24975840b514 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
@@ -44,14 +44,14 @@ cvox.LibLouis = function(nmfPath, opt_tablesDir) {
/**
* Pending requests to construct translators.
- * @private {!Array.<{tableName: string,
+ * @private {!Array<{tableName: string,
* callback: function(cvox.LibLouis.Translator)}>}
*/
this.pendingTranslators_ = [];
/**
* Pending RPC callbacks. Maps from message IDs to callbacks.
- * @private {!Object.<string, function(!Object)>}
+ * @private {!Object<string, function(!Object)>}
*/
this.pendingRpcCallbacks_ = {};
@@ -271,7 +271,7 @@ cvox.LibLouis.Translator = function(instance, tableNames) {
/**
* Translates text into braille cells.
* @param {string} text Text to be translated.
- * @param {function(ArrayBuffer, Array.<number>, Array.<number>)} callback
+ * @param {function(ArrayBuffer, Array<number>, Array<number>)} callback
* Callback for result. Takes 3 parameters: the resulting cells,
* mapping from text to braille positions and mapping from braille to
* text positions. If translation fails for any reason, all parameters are

Powered by Google App Engine
This is Rietveld 408576698