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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/messages/msgs.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/messages/msgs.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/messages/msgs.js b/chrome/browser/resources/chromeos/chromevox/chromevox/messages/msgs.js
index 7f726f08c894e050959a2ee8400f035b36b07a7c..fc4fc80ae52506cfd19af5b6fd64ca64eea23425 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/messages/msgs.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/messages/msgs.js
@@ -14,7 +14,7 @@ goog.provide('cvox.Msgs');
*/
cvox.Msgs = function() {
/**
- * @type {Object.<string, string>}
+ * @type {Object<string, string>}
* @private
*/
this.localeNameDict_ = null;
@@ -46,7 +46,7 @@ cvox.Msgs.prototype.getLocale = function() {
* typos early.
*
* @param {string} messageId The id.
- * @param {Array.<string>=} opt_subs Substitution strings.
+ * @param {Array<string>=} opt_subs Substitution strings.
* @return {string} The message.
*/
cvox.Msgs.prototype.getMsg = function(messageId, opt_subs) {
@@ -98,7 +98,7 @@ cvox.Msgs.prototype.getNumber = function(num) {
*/
cvox.Msgs.prototype.getLocaleDisplayName = function(locale) {
if (!this.localeNameDict_) {
- this.localeNameDict_ = /** @type {Object.<string, string>} */(
+ this.localeNameDict_ = /** @type {Object<string, string>} */(
JSON.parse(this.getMsg('locale_dict')));
}
var name = this.localeNameDict_[locale];

Powered by Google App Engine
This is Rietveld 408576698