madrobby/zepto — comment on commit 0c7be15dcc4c72856818b462f0d39a5d20734b5b
File: src/ajax.js line 102
By tvandervossen:

It might be better to move the if statement inside the error handler so that xhr.abort() is also called when options.error hasn’t been set.