mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-25 18:52:20 -05:00
Figure out why a listener was needed to prevent breakage
This commit is contained in:
parent
2f544b82b3
commit
d1a74ee411
@ -18,11 +18,8 @@ module.exports = HumanModel.define({
|
||||
}
|
||||
this.setAvatar(attrs.avatarID);
|
||||
|
||||
// I don't know why yet, but I need a bound listener to keep things from breaking.
|
||||
this.bind('change:id', function () {}, this);
|
||||
this.resources.bind('add remove reset change', this.onResourceChange, this);
|
||||
},
|
||||
seal: true,
|
||||
type: 'contact',
|
||||
props: {
|
||||
id: ['string', true, false],
|
||||
|
Loading…
Reference in New Issue
Block a user