Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a4c21ae

Browse files
committed
docs($httpProvider): Parameter Detail Fix
useLegacyPromiseExtensions's boolean parameter was the other way around.
1 parent 1c2d2e8 commit a4c21ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ng/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function $HttpProvider() {
347347
*
348348
* Defaults to false. If no value is specified, returns the current configured value.
349349
*
350-
* @param {boolean=} value If true, `$http` will return a normal promise without the `success` and `error` methods.
350+
* @param {boolean=} value If true, `$http` will return a promise with the depreciated legacy `success` and `error` methods.
351351
*
352352
* @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.
353353
* otherwise, returns the current configured value.

0 commit comments

Comments
 (0)