diff options
| author | bolasblack | 2013-08-06 17:48:32 +0800 |
|---|---|---|
| committer | Igor Minar | 2013-08-09 09:02:58 -0700 |
| commit | a207665dad69248139b150cd3fe8ba13059bffb4 (patch) | |
| tree | 48be81627bcef0e8fe3f495c175c8b055c754cd0 /src/ngMock | |
| parent | b3087421f20241f9bcb9b1f00ee9a30efc8b0899 (diff) | |
| download | angular.js-a207665dad69248139b150cd3fe8ba13059bffb4.tar.bz2 | |
feat($q): add shorthand for defining promise error handlers
Now we can instead this
promise.then(null, errorHandler)
with this
promise.catch(errorhandler)
Closes #2048
Closes #3476
Diffstat (limited to 'src/ngMock')
0 files changed, 0 insertions, 0 deletions
