johntimothybailey/backbone.jsend — pull request #2 by rjregenold (2012-03-20 20:38:28+00:00)
Title: Don't break default Backbone model behavior

The JSendSync method needs to return the results of Backbone.sync.

var myModel = new MyModel(); // model has Backbone.JSend.ResponseMixin mixed in
var fetchingModel = myModel.fetch();
fetchingModel.done(function() {
// do something.
});

The above code breaks because it is relying on the return result from Backbone.sync. This pull request fixes that.