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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/content_editable_extractor.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/content_editable_extractor.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/content_editable_extractor.js b/chrome/browser/resources/chromeos/chromevox/common/content_editable_extractor.js
index e7f3c4a9cc82d2add36bd28fc49eb8f32fcccaff..ce0d9415f0d71d17deea72a6387e59747a217f59 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/content_editable_extractor.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/content_editable_extractor.js
@@ -40,14 +40,14 @@ cvox.ContentEditableExtractor = 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_ = [];
@@ -61,7 +61,7 @@ cvox.ContentEditableExtractor.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}};
var startCursor = new cvox.Cursor(element, 0, '');

Powered by Google App Engine
This is Rietveld 408576698