SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

feat($httpProvider): add 'useLegacyPromiseExtensions' configuration

The legacy methods, `success` and `error`, have been deprecated.

Set this to `false` to cause `$http` to throw an error if these methods are
used in the application.

For now it defaults to `true`. In a future release we will remove these
methods altogether.

DEPRECATION NOTICE:

The legacy methods 'success' and 'error' on promises returned by $http
are now deprecated.

Closes #12112
Closes #10508
R
Rouven Weßling committed
a8f7e9cfde82ed7eaba3a868d8acafdf57f2d76f
Parent: 7b8a16b
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 8/1/2015, 7:34:30 PM