intermine / intermine/intermine-apps-c

list-widgets: correctly introspect the model in #all

Open
#26 1 comment 0 reactions 1 assignee Claimed by @radekstepan View on GitHub
update app
Dominant language
JavaScript
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When deciding which widgets are suitable, use the introspection facilities of the `intermine.Model`.

``` coffee-script
listType = model.makePath list.type
suitable = (w for w in widgets when _.any w.targets, listType.isa)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.