jashkenas/backbone — pull request #3012 by jaridmargolin (2014-02-20 22:44:03+00:00)
Title: Add settings attr to options on Backbone.sync

A alternative solution for obtaining the ajax settings within success and error callbacks.

**example usage**:

```
model.fetch({
error: function (model, resp, options) {
if (options.xhr.statusText == 'timeout') { Backbone.ajax(options.settings); }
}
});
```