documentcloud/backbone — pull request #2051 by eastridge (2012-12-29 21:43:44+00:00)
Title: Add Backbone.wrapError and Backbone.wrapSuccess methods

Added per the discussion in: https://github.com/documentcloud/backbone/issues/2031

Note that I choose to add the methods directly on the `Backbone` object as `Backbone.sync` is frequently overridden.