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

Commit ffc3115

Browse files
wesleychoNarretz
authored andcommitted
docs($resource): fix wording for failure
- Fix mention of promise resolution on failure: resolved -> rejected Closes #13638 Closes #13624
1 parent 9590bcf commit ffc3115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngResource/resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function shallowClearAndCopy(src, dst) {
229229
* {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view
230230
* rendering until the resource(s) are loaded.
231231
*
232-
* On failure, the promise is resolved with the {@link ng.$http http response} object, without
232+
* On failure, the promise is rejected with the {@link ng.$http http response} object, without
233233
* the `resource` property.
234234
*
235235
* If an interceptor object was provided, the promise will instead be resolved with the value

0 commit comments

Comments
 (0)