powmedia/backbone-deep-model — pull request #40 by mattyway (2012-12-20 05:22:49+00:00)
Title: Fixes for Backbone 0.9.9.

I have fixed Deep Model to work with Backbone 0.9.9 and got all the tests to pass, but I have added an extra dependency.

I have also added some more tests and added the ability to have deep defaults.

The extra dependency adds deepExtend and deepClone to underscore.js. It is found here: https://gist.github.com/raw/3861963/e246cd62e77c12826737cfe10c47a92697650e13/underscore.mixin.deepExtend.js

A patch is to Backbone is needed to pass all of the tests. The patch fixes the result of hasChanged() after change() is called. I have submitted a pull request to Backbone here: https://github.com/documentcloud/backbone/pull/1983