paulmillr/exoskeleton — pull request #48 by guillaumervls (2013-11-27 11:26:50+00:00)
Title: Model.toJSON now returns an object with a prototype

Hi,
Just changed `model.js` so that Backbone.Model.prototype.toJSON returns an object with a classic prototype so it responds to stuff like `.hasOwnProperty`, which is :
- useful in some cases
- coherent with original Backbone's behavior

Hope it helps !