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

Unified Diff: chrome/browser/resources/chromeos/chromevox/speech_rules/math_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/speech_rules/math_store.js
diff --git a/chrome/browser/resources/chromeos/chromevox/speech_rules/math_store.js b/chrome/browser/resources/chromeos/chromevox/speech_rules/math_store.js
index 217a19ff572f19f22529921d072e225b17360b67..4c33452b6b869712d6cc7e2e552420c313bdb195 100644
--- a/chrome/browser/resources/chromeos/chromevox/speech_rules/math_store.js
+++ b/chrome/browser/resources/chromeos/chromevox/speech_rules/math_store.js
@@ -159,7 +159,7 @@ cvox.MathStore.prototype.defineRulesAlias = function(name, query, cstr) {
* Adds a new speech rule as alias of the given rule.
* @param {cvox.SpeechRule} rule The existing rule.
* @param {string} query Precondition query of the rule.
- * @param {Array.<string>} cstrList List of additional constraints.
+ * @param {Array<string>} cstrList List of additional constraints.
* @private
*/
cvox.MathStore.prototype.addAlias_ = function(rule, query, cstrList) {
@@ -185,7 +185,7 @@ cvox.MathStore.prototype.evaluateDefault = function(node) {
* string into components such as single characters, function names or words,
* numbers, etc. and creates the appropriate navigation descriptions.
* @param {string} str A string.
- * @return {!Array.<cvox.NavDescription>} Messages for the math expression.
+ * @return {!Array<cvox.NavDescription>} Messages for the math expression.
* @private
*/
cvox.MathStore.prototype.evaluateString_ = function(str) {
@@ -259,8 +259,8 @@ cvox.MathStore.prototype.evaluate_ = function(text) {
/**
* Removes all empty strings from an array of strings.
- * @param {Array.<string>} strs An array of strings.
- * @return {Array.<string>} The cleaned array.
+ * @param {Array<string>} strs An array of strings.
+ * @return {Array<string>} The cleaned array.
* @private
*/
cvox.MathStore.removeEmpty_ = function(strs) {

Powered by Google App Engine
This is Rietveld 408576698