docs($http): fix return types

This commit is contained in:
Igor Minar 2012-04-10 23:30:22 -07:00
parent dceafd32ee
commit 7d074a3775

View file

@ -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');