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

Unified Diff: remoting/webapp/crd/js/host_list.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox 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
« no previous file with comments | « remoting/webapp/crd/js/host_installer.js ('k') | remoting/webapp/crd/js/host_list_api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/host_list.js
diff --git a/remoting/webapp/crd/js/host_list.js b/remoting/webapp/crd/js/host_list.js
index fd39e96fc716bbf10f665781c2b7f5b8aea55831..4221115d3e33e8c1cb040800b29e43b435eddef6 100644
--- a/remoting/webapp/crd/js/host_list.js
+++ b/remoting/webapp/crd/js/host_list.js
@@ -57,12 +57,12 @@ remoting.HostList = function(table, noHosts, errorMsg, errorButton,
*/
this.loadingIndicator_ = loadingIndicator;
/**
- * @type {Array.<remoting.HostTableEntry>}
+ * @type {Array<remoting.HostTableEntry>}
* @private
*/
this.hostTableEntries_ = [];
/**
- * @type {Array.<remoting.Host>}
+ * @type {Array<remoting.Host>}
* @private
*/
this.hosts_ = [];
@@ -111,12 +111,12 @@ remoting.HostList.prototype.load = function(onDone) {
// Load the cache of the last host-list, if present.
/** @type {remoting.HostList} */
var that = this;
- /** @param {Object.<string>} items */
+ /** @param {Object<string>} items */
var storeHostList = function(items) {
if (items[remoting.HostList.HOSTS_KEY]) {
var cached = base.jsonParseSafe(items[remoting.HostList.HOSTS_KEY]);
if (cached) {
- that.hosts_ = /** @type {Array.<remoting.Host>} */ (cached);
+ that.hosts_ = /** @type {Array<remoting.Host>} */ (cached);
} else {
console.error('Invalid value for ' + remoting.HostList.HOSTS_KEY);
}
@@ -182,7 +182,7 @@ remoting.HostList.prototype.refresh = function(onDone) {
* able to successfully parse it.
*
* @param {function(boolean):void} onDone The callback passed to |refresh|.
- * @param {Array.<remoting.Host>} hosts The list of hosts for the user.
+ * @param {Array<remoting.Host>} hosts The list of hosts for the user.
* @return {void} Nothing.
* @private
*/
« no previous file with comments | « remoting/webapp/crd/js/host_installer.js ('k') | remoting/webapp/crd/js/host_list_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698