Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

ListenHash: remove 'model', 'collection' limitation #901

Open
TomAtGithub opened this issue Dec 19, 2017 · 0 comments
Open

ListenHash: remove 'model', 'collection' limitation #901

TomAtGithub opened this issue Dec 19, 2017 · 0 comments

Comments

@TomAtGithub
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant