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

Unified Diff: remoting/webapp/crd/js/typecheck.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/third_party_token_fetcher.js ('k') | remoting/webapp/crd/js/ui_mode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/typecheck.js
diff --git a/remoting/webapp/crd/js/typecheck.js b/remoting/webapp/crd/js/typecheck.js
index 7365238a40ca9797a949c57befdd2fd2930cdbee..b44df12c4fe6e51aad0d4b765e5783edd33dd929 100644
--- a/remoting/webapp/crd/js/typecheck.js
+++ b/remoting/webapp/crd/js/typecheck.js
@@ -9,7 +9,7 @@
* If the attribute is not an array, then an exception will be thrown unless
* a default value is specified in |opt_default|.
*
- * @param {Object.<string,*>} dict The dictionary containing the |key|
+ * @param {Object<string,*>} dict The dictionary containing the |key|
* @param {string} key The key to typecheck in the |dict|.
* @param {Array=} opt_default The value to return if the key is not a bool.
* @return {Array} The |key| attribute value as an object.
@@ -34,7 +34,7 @@ function getArrayAttr(dict, key, opt_default) {
* If the attribute is not a boolean, then an exception will be thrown unless
* a default value is specified in |opt_default|.
*
- * @param {Object.<string,*>} dict The dictionary containing the |key|
+ * @param {Object<string,*>} dict The dictionary containing the |key|
* @param {string} key The key to typecheck in the |dict|.
* @param {boolean=} opt_default The value to return if the key is not a bool.
* @return {boolean} The |key| attribute value as a boolean.
@@ -62,7 +62,7 @@ function getBooleanAttr(dict, key, opt_default) {
* If the attribute is not a number, then an exception will be thrown unless
* a default value is specified in |opt_default|.
*
- * @param {Object.<string,*>} dict The dictionary containing the |key|
+ * @param {Object<string,*>} dict The dictionary containing the |key|
* @param {string} key The key to typecheck in the |dict|.
* @param {number=} opt_default The value to return if the key is not a number.
* @return {number} The |key| attribute value as a number.
@@ -87,7 +87,7 @@ function getNumberAttr(dict, key, opt_default) {
* If the attribute is not an object, then an exception will be thrown unless
* a default value is specified in |opt_default|.
*
- * @param {Object.<string,*>} dict The dictionary containing the |key|
+ * @param {Object<string,*>} dict The dictionary containing the |key|
* @param {string} key The key to typecheck in the |dict|.
* @param {Object=} opt_default The value to return if the key is not a bool.
* @return {Object} The |key| attribute value as an object.
@@ -112,7 +112,7 @@ function getObjectAttr(dict, key, opt_default) {
* If the attribute is not a string, then an exception will be thrown unless
* a default value is specified in |opt_default|.
*
- * @param {Object.<string,*>} dict The dictionary containing the |key|
+ * @param {Object<string,*>} dict The dictionary containing the |key|
* @param {string} key The key to typecheck in the |dict|.
* @param {string=} opt_default The value to return if the key is not a string.
* @return {string} The |key| attribute value as a string.
« no previous file with comments | « remoting/webapp/crd/js/third_party_token_fetcher.js ('k') | remoting/webapp/crd/js/ui_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698