biril/backbone-faux-server — pull request #10 by nthsense (2013-11-06 20:58:37+00:00)
Title: Make it so that you don't have to manually create fully-qualified models...

... in the result handler. Instead, the result handler can return pure JSON and Backbone & Backbone.Relational will handle turning the result into Backbone Model instances. This also helps for cases where you're just using the Backbone Model to make the request and you're doing something unusual with the result in your model's success handler. Specifically, if the server returns an array in response to a GET call, we want faux-server to return that same array, and we want to do something with it in our success handler - but with faux-server calling resolve(result), we got a Backbone error that parse() was undefined.