mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-17 05:11:03 +00:00
docs($http): fix return types
This commit is contained in:
parent
dceafd32ee
commit
7d074a3775
1 changed files with 3 additions and 3 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue