addyosmani/backbone-fundamentals — pull request #173 by g6scheme (2012-09-06 01:07:18+00:00)
Title: enhanced an collection example

Hi @addyosmani,
I've changed code example to be consisten with previous examples and extended example to show concreat add() in action as it is implicitly called out just before, so expected imo and experience reading it.

Also, I think it would be better to use Photo model instead of Backbone.Model as it could be confusing, even though a type of Backbone.Model is expected. Errors are thrown in case not all defaults of the expected Model type (in this case Photo) have counterparts in passed object to Backbone.Model when instantiating it and later those counterparts being used in app.

Should that be avoided, in general?

Cheers,
Dusan