diff options
| -rw-r--r-- | src/ng/http.js | 6 |
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'); |
