pathable / supermodel

Supermodel - Minimal Model Tracking for Backbonejs
http://pathable.github.io/supermodel
MIT License
229 stars 36 forks source link

Fix failing test #54

Closed parkerault closed 9 years ago

parkerault commented 10 years ago

@braddunbar can you confirm this is expected behavior?

braddunbar commented 10 years ago

O Hai there @parkerault! :wave:

Looks like to me name should be changed to parker, right? I think Collection#add is to blame here as it sets merge: false by default.

braddunbar commented 10 years ago

No, it's somewhat more complicated than that...I'll take a deeper look later on. Thanks for the heads up @parkerault!

parkerault commented 10 years ago

Ah, okay. I know collections are supposed to drop calls to add with duplicate IDs by default, so that's what I was testing for, but I don't know what the intended behavior is for supermodel.