Skip to content

Commit fd792de

Browse files
vojtajinaIgorMinar
authored andcommitted
fix($xhr.error): fix docs and add missed breaking change
$xhr.error's first argument (request) has no callback property anymore, it's called success now... This breaking change was introduced by b5594a7
1 parent a01cf6d commit fd792de

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
Angular with
7171
[Unicode Technical Standard #35](http://unicode.org/reports/tr35/#Date_Format_Patterns) used by
7272
Closure, as well as, future DOM apis currently being proposed to w3c.
73+
- `$xhr.error`'s `request` argument has no `callback` property anymore, use `success` instead
7374

7475

7576

src/service/xhr.error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* - `method` – `{string}` – The http request method.
2020
* - `url` – `{string}` – The request destination.
2121
* - `data` – `{(string|Object)=} – An optional request body.
22-
* - `callback` – `{function()}` – The callback function
22+
* - `success` – `{function()}` – The success callback function
2323
*
2424
* @param {Object} response Response object.
2525
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy