mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-29 22:37:48 +08:00
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