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

Unified Diff: chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_functions.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/speech_rules/speech_rule_functions.js
diff --git a/chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_functions.js b/chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_functions.js
index 2e865487e508f2c0962fb3ebdaecab551dab37db..f4edabb8255ec18e7d2dd5b17179c6881d5d57ef 100644
--- a/chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_functions.js
+++ b/chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_functions.js
@@ -24,7 +24,7 @@ cvox.SpeechRuleFunctions = function() { };
* Private superclass of all the custom function stores.
* @constructor
* @param {string} prefix A prefix string for the function names.
- * @param {Object.<string, Function>} store Storage object.
+ * @param {Object<string, Function>} store Storage object.
* @private
*/
cvox.SpeechRuleFunctions.Store_ = function(prefix, store) {
@@ -59,7 +59,7 @@ cvox.SpeechRuleFunctions.Store_.prototype.lookup = function(name) {
/**
* Context function for use in speech rules.
- * @typedef {function(!Node): Array.<Node>}
+ * @typedef {function(!Node): Array<Node>}
*/
cvox.SpeechRuleFunctions.CustomQuery;
@@ -70,7 +70,7 @@ cvox.SpeechRuleFunctions.CustomQuery;
*/
cvox.SpeechRuleFunctions.CustomQueries = function() {
var store =
- /** @type {Object.<string, cvox.SpeechRuleFunctions.CustomQuery>} */ ({});
+ /** @type {Object<string, cvox.SpeechRuleFunctions.CustomQuery>} */ ({});
goog.base(this, 'CQF', store);
};
goog.inherits(cvox.SpeechRuleFunctions.CustomQueries,
@@ -90,7 +90,7 @@ cvox.SpeechRuleFunctions.CustomString;
*/
cvox.SpeechRuleFunctions.CustomStrings = function() {
var store =
- /** @type {Object.<string, cvox.SpeechRuleFunctions.CustomString>} */ ({});
+ /** @type {Object<string, cvox.SpeechRuleFunctions.CustomString>} */ ({});
goog.base(this, 'CSF', store);
};
goog.inherits(cvox.SpeechRuleFunctions.CustomStrings,
@@ -99,7 +99,7 @@ goog.inherits(cvox.SpeechRuleFunctions.CustomStrings,
/**
* Context function for use in speech rules.
- * @typedef {function(Array.<Node>, ?string): (function(): string)}
+ * @typedef {function(Array<Node>, ?string): (function(): string)}
*/
cvox.SpeechRuleFunctions.ContextFunction;
@@ -110,7 +110,7 @@ cvox.SpeechRuleFunctions.ContextFunction;
*/
cvox.SpeechRuleFunctions.ContextFunctions = function() {
var store =
- /** @type {Object.<string, cvox.SpeechRuleFunctions.ContextFunction>} */
+ /** @type {Object<string, cvox.SpeechRuleFunctions.ContextFunction>} */
({});
goog.base(this, 'CTXF', store);
};

Powered by Google App Engine
This is Rietveld 408576698