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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow.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/editable_text_area_shadow.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow.js b/chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow.js
index 58940f2626afee4fbf69ce16ea72125c5e199563..bd381156c698bd8a5470c3aa09690bfe44265b72 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow.js
@@ -23,14 +23,14 @@ cvox.EditableTextAreaShadow = function() {
/**
* Map from line index to a data structure containing the start
* and end index within the line.
- * @type {Object.<number, {startIndex: number, endIndex: number}>}
+ * @type {Object<number, {startIndex: number, endIndex: number}>}
* @private
*/
this.lines_ = {};
/**
* Map from 0-based character index to 0-based line index.
- * @type {Array.<number>}
+ * @type {Array<number>}
* @private
*/
this.characterToLineMap_ = [];
@@ -72,7 +72,7 @@ cvox.EditableTextAreaShadow.prototype.update = function(element) {
/**
* Map from line index to a data structure containing the start
* and end index within the line.
- * @type {Object.<number, {startIndex: number, endIndex: number}>}
+ * @type {Object<number, {startIndex: number, endIndex: number}>}
*/
var lines = {0: {startIndex: 0, endIndex: 0}};

Powered by Google App Engine
This is Rietveld 408576698