openseadragon/openseadragon — pull request #149 by acdha (2013-06-26 21:24:20+00:00)
Title: Simplify OpenSeadragon.makeAjaxRequest

* Since async is always true – and browsers are starting to deprecate
synchronous XHR – we were able to prune considerable amount of code
* Add an error callback to match the existing success callback
* All AJAX errors will log to the console
* The onError callback will only be called if defined