diff options
| author | Vojta Jina | 2011-08-02 09:59:51 +0200 |
|---|---|---|
| committer | Vojta Jina | 2011-08-02 19:01:36 +0200 |
| commit | 15efbbdc1fe42f914e6442b32ffc032a4cc8e792 (patch) | |
| tree | cf955f5058663fe2757df2d10210b026b310a879 /src | |
| parent | 67a3315e1de1ca4ea469fc9443e97080513c909e (diff) | |
| download | angular.js-15efbbdc1fe42f914e6442b32ffc032a4cc8e792.tar.bz2 | |
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 b5594a773a6f07dcba914aa385f92d3305285b24
Diffstat (limited to 'src')
| -rw-r--r-- | src/service/xhr.error.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/xhr.error.js b/src/service/xhr.error.js index 5dd7983b..0ff6de1c 100644 --- a/src/service/xhr.error.js +++ b/src/service/xhr.error.js @@ -19,7 +19,7 @@ * - `method` – `{string}` – The http request method. * - `url` – `{string}` – The request destination. * - `data` – `{(string|Object)=} – An optional request body. - * - `callback` – `{function()}` – The callback function + * - `success` – `{function()}` – The success callback function * * @param {Object} response Response object. * |
