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

Unified Diff: remoting/webapp/crd/js/xhr.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/window_frame.js ('k') | remoting/webapp/crd/js/xmpp_connection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/xhr.js
diff --git a/remoting/webapp/crd/js/xhr.js b/remoting/webapp/crd/js/xhr.js
index d37e7738708eb740dc38afd9f7ef551c6a7eb792..258ff0e17765142c612d6f33f932779b2d6c6a6f 100644
--- a/remoting/webapp/crd/js/xhr.js
+++ b/remoting/webapp/crd/js/xhr.js
@@ -19,7 +19,7 @@ remoting.xhr = remoting.xhr || {};
/**
* Takes an associative array of parameters and urlencodes it.
*
- * @param {Object.<string>} paramHash The parameter key/value pairs.
+ * @param {Object<string>} paramHash The parameter key/value pairs.
* @return {string} URLEncoded version of paramHash.
*/
remoting.xhr.urlencodeParamHash = function(paramHash) {
@@ -40,10 +40,10 @@ remoting.xhr.urlencodeParamHash = function(paramHash) {
* @param {string} url The base URL to GET, excluding parameters.
* @param {function(XMLHttpRequest):void} onDone The function to call on
* completion.
- * @param {(string|Object.<string>)=} opt_parameters The request parameters,
+ * @param {(string|Object<string>)=} opt_parameters The request parameters,
* either as an associative array, or a string. If it is a string, do
* not include the ? and be sure it is correctly URLEncoded.
- * @param {Object.<string>=} opt_headers Additional headers to include on the
+ * @param {Object<string>=} opt_headers Additional headers to include on the
* request.
* @param {boolean=} opt_withCredentials Set the withCredentials flags in the
* XHR.
@@ -61,10 +61,10 @@ remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers,
* @param {string} url The base URL to POST, excluding parameters.
* @param {function(XMLHttpRequest):void} onDone The function to call on
* completion.
- * @param {(string|Object.<string>)=} opt_parameters The request parameters,
+ * @param {(string|Object<string>)=} opt_parameters The request parameters,
* either as an associative array, or a string. If it is a string, be
* sure it is correctly URLEncoded.
- * @param {Object.<string>=} opt_headers Additional headers to include on the
+ * @param {Object<string>=} opt_headers Additional headers to include on the
* request.
* @param {boolean=} opt_withCredentials Set the withCredentials flags in the
* XHR.
@@ -82,10 +82,10 @@ remoting.xhr.post = function(url, onDone, opt_parameters, opt_headers,
* @param {string} url The base URL to DELETE, excluding parameters.
* @param {function(XMLHttpRequest):void} onDone The function to call on
* completion.
- * @param {(string|Object.<string>)=} opt_parameters The request parameters,
+ * @param {(string|Object<string>)=} opt_parameters The request parameters,
* either as an associative array, or a string. If it is a string, be
* sure it is correctly URLEncoded.
- * @param {Object.<string>=} opt_headers Additional headers to include on the
+ * @param {Object<string>=} opt_headers Additional headers to include on the
* request.
* @param {boolean=} opt_withCredentials Set the withCredentials flags in the
* XHR.
@@ -103,10 +103,10 @@ remoting.xhr.remove = function(url, onDone, opt_parameters, opt_headers,
* @param {string} url The base URL to PUT, excluding parameters.
* @param {function(XMLHttpRequest):void} onDone The function to call on
* completion.
- * @param {(string|Object.<string>)=} opt_parameters The request parameters,
+ * @param {(string|Object<string>)=} opt_parameters The request parameters,
* either as an associative array, or a string. If it is a string, be
* sure it is correctly URLEncoded.
- * @param {Object.<string>=} opt_headers Additional headers to include on the
+ * @param {Object<string>=} opt_headers Additional headers to include on the
* request.
* @param {boolean=} opt_withCredentials Set the withCredentials flags in the
* XHR.
@@ -125,10 +125,10 @@ remoting.xhr.put = function(url, onDone, opt_parameters, opt_headers,
* @param {string} url The base URL, excluding parameters.
* @param {function(XMLHttpRequest):void} onDone The function to call on
* completion.
- * @param {(string|Object.<string>)=} opt_parameters The request parameters,
+ * @param {(string|Object<string>)=} opt_parameters The request parameters,
* either as an associative array, or a string. If it is a string, be
* sure it is correctly URLEncoded.
- * @param {Object.<string>=} opt_headers Additional headers to include on the
+ * @param {Object<string>=} opt_headers Additional headers to include on the
* request.
* @param {boolean=} opt_withCredentials Set the withCredentials flags in the
* XHR.
« no previous file with comments | « remoting/webapp/crd/js/window_frame.js ('k') | remoting/webapp/crd/js/xmpp_connection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698