Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point entity.collection to entity's original collection #116

Open
bergie opened this issue Jun 14, 2012 · 0 comments
Open

Point entity.collection to entity's original collection #116

bergie opened this issue Jun 14, 2012 · 0 comments

Comments

@bergie
Copy link
Owner

bergie commented Jun 14, 2012

In Backbone, Models keep a reference to their collection via model.collection property. This also happens with VIE, but since entities often belong to more than one collection, this is less useful.

For consistency, the model.collection property should always point to the originating collection for the entity, i.e the set of enhancements returned by StanbolService, or the rel parsed by RdfaService.

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

No branches or pull requests

1 participant