fix($httpBackend): cancelled JSONP requests will not print error in the console
When you cancel a JSONP request, angular deletes the callback for it. However the script still executes, and since the callback is now deleted and undefined, the script throws an exception visible in the console. The quick fix for this is not to delete the callback, but replace it with `angular.noop`. Closes #5615 Closes #5616
A
Artemy Tregubenko committed
95e1b2d6121b4e26cf87dcf6746a7b8cb4c25e7f
Parent: 75345e3
Committed by Igor Minar <igor@angularjs.org>
on 1/8/2014, 8:35:19 AM