angular.js
angular.js copied to clipboard
$xhr JSONP should call error handlers ($xhr.error)
Currently, when any error occurs during JSONP (4xx, 5xx) - nothing happens.
See http://code.google.com/p/jquery-jsonp/
original bug report: https://groups.google.com/d/topic/angular/08aJqWtWpJM/discussion
more resources:
- http://www.nurelm.com/themanual/2010/08/09/self-indulgent-code-jquery-getjson-with-error-handling/
- http://stackoverflow.com/questions/309953/how-do-i-catch-jquery-getjson-or-ajax-with-datatype-set-to-jsonp-error-wh
- http://code.google.com/p/jquery-jsonp/wiki/TipsAndTricks
Closed by this commit : http://bit.ly/nGMe4M