diff options
| author | Vojta Jina | 2011-08-02 09:59:51 +0200 | 
|---|---|---|
| committer | Igor Minar | 2011-08-18 23:33:00 -0700 | 
| commit | fd792de9e87e54f1efc93cccd514d2637b3eb7fc (patch) | |
| tree | 3dd2c27d8dcb21892d4af6d41230ea94f0e61b8f /src/service/xhr.error.js | |
| parent | a01cf6d39e30598bb0145e619515c69b6aac09e9 (diff) | |
| download | angular.js-fd792de9e87e54f1efc93cccd514d2637b3eb7fc.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/service/xhr.error.js')
| -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.   * | 
