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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/spannable.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/spannable.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/spannable.js b/chrome/browser/resources/chromeos/chromevox/common/spannable.js
index 5599f59df517dbbb267c7e79f8444e589aeb7663..b4773e274a48f3a55a4f835ef1d8a88068d72180 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/spannable.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/spannable.js
@@ -25,7 +25,7 @@ cvox.Spannable = function(opt_string, opt_annotation) {
/**
* Spans (annotations).
- * @type {!Array.<!{ value: *, start: number, end: number }>}
+ * @type {!Array<!{ value: *, start: number, end: number }>}
* @private
*/
this.spans_ = [];
@@ -142,7 +142,7 @@ cvox.Spannable.prototype.getSpanInstanceOf = function(constructor) {
/**
* Returns all span values which are an instance of a given constructor.
* @param {!Function} constructor Constructor.
- * @return {!Array.<Object>} Array of object.
+ * @return {!Array<Object>} Array of object.
*/
cvox.Spannable.prototype.getSpansInstanceOf = function(constructor) {
var ret = [];
@@ -405,7 +405,7 @@ cvox.Spannable.SerializeInfo_;
/**
* The serialized format of a spannable.
- * @typedef {{string: string, spans: Array.<cvox.Spannable.SerializedSpan_>}}
+ * @typedef {{string: string, spans: Array<cvox.Spannable.SerializedSpan_>}}
* @private
*/
cvox.Spannable.SerializedSpannable_;
@@ -420,7 +420,7 @@ cvox.Spannable.SerializedSpan_;
/**
* Maps type names to serialization info objects.
- * @type {Object.<string, cvox.Spannable.SerializeInfo_>}
+ * @type {Object<string, cvox.Spannable.SerializeInfo_>}
* @private
*/
cvox.Spannable.serializableSpansByName_ = {};

Powered by Google App Engine
This is Rietveld 408576698