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

Unified Diff: remoting/webapp/base/js/base.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/base/js/auth_dialog.js ('k') | remoting/webapp/base/js/ipc.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/base.js
diff --git a/remoting/webapp/base/js/base.js b/remoting/webapp/base/js/base.js
index 494fc27f8413c5cb7ebc380c1bfc33d3155e82d9..9f2d83d005c72dd6f092d5c26e712cdee8577dc7 100644
--- a/remoting/webapp/base/js/base.js
+++ b/remoting/webapp/base/js/base.js
@@ -68,7 +68,7 @@ base.Disposable.prototype.dispose = function() {};
*/
base.Disposables = function(var_args) {
/**
- * @type {Array.<base.Disposable>}
+ * @type {Array<base.Disposable>}
* @private
*/
this.disposables_ = Array.prototype.slice.call(arguments, 0);
@@ -165,7 +165,7 @@ base.isAppsV2 = function() {
* Joins the |url| with optional query parameters defined in |opt_params|
* See unit test for usage.
* @param {string} url
- * @param {Object.<string>=} opt_params
+ * @param {Object<string>=} opt_params
* @return {string}
*/
base.urlJoin = function(url, opt_params) {
@@ -182,7 +182,7 @@ base.urlJoin = function(url, opt_params) {
/**
- * @return {Object.<string, string>} The URL parameters.
+ * @return {Object<string, string>} The URL parameters.
*/
base.getUrlParameters = function() {
var result = {};
@@ -364,7 +364,7 @@ base.Promise.as = function(method, params, opt_context, opt_hasErrorHandler) {
* @constructor
*/
base.EventEntry = function() {
- /** @type {Array.<function():void>} */
+ /** @type {Array<function():void>} */
this.listeners = [];
};
@@ -394,7 +394,7 @@ base.EventSource.prototype.removeEventListener = function(type, fn) {};
* @implements {base.EventSource}
*/
base.EventSourceImpl = function() {
- /** @type {Object.<string, base.EventEntry>} */
+ /** @type {Object<string, base.EventEntry>} */
this.eventMap_;
};
@@ -412,7 +412,7 @@ base.EventSourceImpl.isDefined = function(obj, type) {
base.EventSourceImpl.prototype = {
/**
* Define |events| for this event source.
- * @param {Array.<string>} events
+ * @param {Array<string>} events
*/
defineEvents: function(events) {
base.debug.assert(!Boolean(this.eventMap_),
« no previous file with comments | « remoting/webapp/base/js/auth_dialog.js ('k') | remoting/webapp/base/js/ipc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698