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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/traverse_math.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/traverse_math.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/traverse_math.js b/chrome/browser/resources/chromeos/chromevox/common/traverse_math.js
index 83a622035d908396500503b6f697ab7e0c921ca0..df4814ee58d0c7f17b9900a7566a2fe0db769e58 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/traverse_math.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/traverse_math.js
@@ -30,14 +30,14 @@ cvox.TraverseMath = function() {
/**
* Dictionary of all LaTeX elements in the page if there are any.
- * @type {!Object.<string, !Node>}
+ * @type {!Object<string, !Node>}
* @private
*/
this.allTexs_ = {};
/**
* Dictionary of all MathJaxs elements in the page if there are any.
- * @type {!Object.<string, !Node>}
+ * @type {!Object<string, !Node>}
* @private
*/
this.allMathjaxs_ = {};
@@ -45,7 +45,7 @@ cvox.TraverseMath = function() {
/**
* Dictionary of all MathJaxs elements that have not yet been translated at
* page load or during MathJax rendering.
- * @type {!Object.<string, !Node>}
+ * @type {!Object<string, !Node>}
* @private
*/
this.todoMathjaxs_ = {};
@@ -65,13 +65,13 @@ cvox.TraverseMath = function() {
/**
* List of domain names.
- * @type {Array.<string>}
+ * @type {Array<string>}
*/
this.allDomains = [];
/**
* List of style names.
- * @type {Array.<string>}
+ * @type {Array<string>}
*/
this.allStyles = [];
@@ -337,8 +337,8 @@ cvox.TraverseMath.prototype.nextParentChild = function(r) {
/**
* Adds a list of domains and styles to the existing one.
- * @param {Array.<string>} domains List of domain names.
- * @param {Array.<string>} styles List of style names.
+ * @param {Array<string>} domains List of domain names.
+ * @param {Array<string>} styles List of style names.
*/
cvox.TraverseMath.prototype.addDomainsAndStyles = function(domains, styles) {
this.allDomains.push.apply(

Powered by Google App Engine
This is Rietveld 408576698