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

Unified Diff: remoting/webapp/crd/js/stats_accumulator.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
Index: remoting/webapp/crd/js/stats_accumulator.js
diff --git a/remoting/webapp/crd/js/stats_accumulator.js b/remoting/webapp/crd/js/stats_accumulator.js
index adf89c5cc775eda1172edd246d51b7ed0d6db1d1..4cfe8e3fa59cc042cceabc65225a02c32e3aea92 100644
--- a/remoting/webapp/crd/js/stats_accumulator.js
+++ b/remoting/webapp/crd/js/stats_accumulator.js
@@ -23,7 +23,7 @@ remoting.StatsAccumulator = function() {
/**
* A map from names to lists of values.
* @private
- * @type Object.<string, Array.<number>>
+ * @type Object<string, Array<number>>
*/
this.valueLists_ = {};
@@ -39,7 +39,7 @@ remoting.StatsAccumulator = function() {
/**
* Adds values to this object.
*
- * @param {Object.<string, number>} newValues
+ * @param {Object<string, number>} newValues
*/
remoting.StatsAccumulator.prototype.add = function(newValues) {
for (var key in newValues) {
@@ -79,7 +79,7 @@ remoting.StatsAccumulator.prototype.getTimeSinceFirstValue = function() {
*/
remoting.StatsAccumulator.prototype.calcMean = function(key) {
/**
- * @param {Array.<number>} values
+ * @param {Array<number>} values
* @return {number}
*/
var calcMean = function(values) {
@@ -99,7 +99,7 @@ remoting.StatsAccumulator.prototype.calcMean = function(key) {
* Applies a given map to the list of values for a given key.
*
* @param {string} key
- * @param {function(Array.<number>): number} map
+ * @param {function(Array<number>): number} map
* @return {number} the result of applying that map to the list of values for
* that key
*/
@@ -114,7 +114,7 @@ remoting.StatsAccumulator.prototype.map = function(key, map) {
*
* @private
* @param {string} key
- * @return {Array.<number>} the list of values for that key
+ * @return {Array<number>} the list of values for that key
*/
remoting.StatsAccumulator.prototype.getValueList = function(key) {
var valueList = this.valueLists_[key];
« no previous file with comments | « remoting/webapp/crd/js/session_connector_impl.js ('k') | remoting/webapp/crd/js/third_party_token_fetcher.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698