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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/command_store.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/common/command_store.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/command_store.js b/chrome/browser/resources/chromeos/chromevox/common/command_store.js
index a50e56547f966411708b082274c30d4c69dedc37..3fdf69e409ecb6df8c9bef4c2ad4bdd268cfbabc 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/command_store.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/command_store.js
@@ -38,7 +38,7 @@ goog.require('cvox.PlatformFilter');
/**
* Returns all of the categories in the store as an array.
- * @return {Array.<string>} The collection of categories.
+ * @return {Array<string>} The collection of categories.
*/
cvox.CommandStore.categories = function() {
var categorySet = {};
@@ -79,7 +79,7 @@ cvox.CommandStore.categoryForCommand = function(command) {
/**
* Gets all commands for a category.
* @param {string} category The category to query.
- * @return {Array.<string>} The commands, if any.
+ * @return {Array<string>} The commands, if any.
*/
cvox.CommandStore.commandsForCategory = function(category) {
var ret = [];
@@ -95,7 +95,7 @@ cvox.CommandStore.commandsForCategory = function(category) {
/**
* List of commands and their properties
- * @type {Object.<string, {forward: (undefined|boolean),
+ * @type {Object<string, {forward: (undefined|boolean),
* backward: (undefined|boolean),
* announce: boolean,
* category: (undefined|string),
@@ -678,7 +678,7 @@ cvox.CommandStore.CMD_WHITELIST = {
/**
* List of find next commands and their associated data.
- * @type {Object.<string, {predicate: string,
+ * @type {Object<string, {predicate: string,
* forwardError: string,
* backwardError: string}>}
* predicate: The name of the predicate. This must be defined in DomPredicates.

Powered by Google App Engine
This is Rietveld 408576698