ListenHash: remove 'model', 'collection' limitation
TomAtGithub opened this issue · 0 comments
TomAtGithub commented
I do not see any reason for limitating the listen hash to model, collection, mediator.
With the optionNames property i can add 'native' additional models or collections to a view.
So i think it would be consistent to also support them in listen hash.
code:
/src/chaplin/views/view.coffee:311
https://github.com/chaplinjs/chaplin/blob/master/src/chaplin/views/view.coffee