aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-10 23:30:22 -0700
committerIgor Minar2012-04-11 17:29:16 -0700
commit7d074a377542028f1c2c184c51971f16ca0e6238 (patch)
tree0fc1d466de016b697e4a04e3e7821716c5907236 /src/ng/http.js
parentdceafd32ee140c8af5c7a0ca6cb808395fffeed3 (diff)
downloadangular.js-7d074a377542028f1c2c184c51971f16ca0e6238.tar.bz2
docs($http): fix return types
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index 0c16e2d0..157c5d98 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -560,7 +560,7 @@ function $HttpProvider() {
*
* @param {string} url Relative or absolute URL specifying the destination of the request
* @param {Object=} config Optional configuration object
- * @returns {XhrFuture} Future object
+ * @returns {HttpPromise} Future object
*/
/**
@@ -574,7 +574,7 @@ function $HttpProvider() {
* @param {string} url Relative or absolute URL specifying the destination of the request.
* Should contain `JSON_CALLBACK` string.
* @param {Object=} config Optional configuration object
- * @returns {XhrFuture} Future object
+ * @returns {HttpPromise} Future object
*/
createShortMethods('get', 'delete', 'head', 'jsonp');
@@ -603,7 +603,7 @@ function $HttpProvider() {
* @param {string} url Relative or absolute URL specifying the destination of the request
* @param {*} data Request content
* @param {Object=} config Optional configuration object
- * @returns {XhrFuture} Future object
+ * @returns {HttpPromise} Future object
*/
createShortMethodsWithData('post', 'put');