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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/math_map.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/chromevox/background/mathmaps/math_map.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/math_map.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/math_map.js
index 410eaac9ac83fdc7179cdb72a9e0b2a6d0768ae1..0fd5306671b0f7fb6098a19f6f01e320e3d034d4 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/math_map.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/math_map.js
@@ -42,13 +42,13 @@ cvox.MathMap = function() {
var cstrValues = this.store.getDynamicConstraintValues();
/**
* Array of domain names.
- * @type {Array.<string>}
+ * @type {Array<string>}
*/
this.allDomains = cstrValues.domain;
/**
* Array of style names.
- * @type {Array.<string>}
+ * @type {Array<string>}
*/
this.allStyles = cstrValues.style;
};
@@ -92,7 +92,7 @@ cvox.MathMap.FUNCTIONS_PATH_ = cvox.MathMap.MATHMAP_PATH_ + 'functions/';
/**
* Array of JSON filenames containing symbol definitions for math speak.
- * @type {Array.<string>}
+ * @type {Array<string>}
* @const
* @private
*/
@@ -121,7 +121,7 @@ cvox.MathMap.SYMBOLS_FILES_ = [
/**
* Array of JSON filenames containing symbol definitions for math speak.
- * @type {Array.<string>}
+ * @type {Array<string>}
* @const
* @private
*/
@@ -146,8 +146,8 @@ cvox.MathMap.loadFile = function(file) {
/**
* Loads a list of JSON files.
- * @param {Array.<string>} files An array of valid filenames.
- * @return {Array.<string>} A string representing JSON array.
+ * @param {Array<string>} files An array of valid filenames.
+ * @return {Array<string>} A string representing JSON array.
*/
cvox.MathMap.loadFiles = function(files) {
return files.map(cvox.MathMap.loadFile);
@@ -156,8 +156,8 @@ cvox.MathMap.loadFiles = function(files) {
/**
* Creates an array of JSON objects from a list of files.
- * @param {Array.<string>} files An array of filenames.
- * @return {Array.<Object>} Array of JSON objects.
+ * @param {Array<string>} files An array of filenames.
+ * @return {Array<Object>} Array of JSON objects.
*/
cvox.MathMap.parseFiles = function(files) {
var strs = cvox.MathMap.loadFiles(files);

Powered by Google App Engine
This is Rietveld 408576698