Cormant-Incorporated / backbone-nested-types

Backbone Model mixin that provides toJSON(), parse(), and validate() implementations for models with nested types.
MIT License
5 stars 1 forks source link

Support clone() #6

Open russplaysguitar opened 8 years ago

russplaysguitar commented 8 years ago

Nested types should be properly cloned by calling clone() on them recursively. Types that do not have clone() could just have a new instance created.