pathable / supermodel

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

Documentation about Model.parent seems wrong #51

Closed xiaohanzhang closed 10 years ago

xiaohanzhang commented 10 years ago

In documentation about parent:

var Admin = User.extend({
  parent: User
});

This seems not right. Should it change to:

var Admin = User.extend({}, {
  parent: User
});

Thanks for all the work you have done.

braddunbar commented 10 years ago

Right you are! Updated in master and cherry-picked to gh-pages. Thanks much!