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

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

@TomAtGithub

Description

@TomAtGithub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions