documentcloud/backbone — Issue #830: Callback vs event handler priority
Author: islandr
Created: 2011-12-30 02:11:23+00:00
State: open

What's the reasoning for event handlers getting priority over the passed in callback?

```
# taken from destroy method
...
options.success = function(resp) {
model.trigger('destroy', model, model.collection, options);
if (success) success(model, resp);
};
...
```

The callback is provided by the object making the call in the first place, so it seems natural that it would get first rights to act on the result and then any event handlers would be handled second. No?