From 7d074a377542028f1c2c184c51971f16ca0e6238 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Apr 2012 23:30:22 -0700 Subject: docs($http): fix return types --- src/ng/http.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ng/http.js') 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'); -- cgit v1.2.3