logicalparadox/backbone.iobind — pull request #23 by tgcondor (2012-09-15 01:58:25+00:00)
Title: Preserve the semantics of the return value

Backbone's sync method return an jqXHR object that implements the jQuery Promise interface.

To be compatible with the original Backbone's sync semantics, return a promise that is resolved on success and rejected on error.