• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

netceteragroup / skele / 421
81%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2019 07:51PM UTC
Jobs 1
Files 80
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
421

push

travis-ci

web-flow
feat(core): zip.select and assorted predicates (#113)

Implements the function

const select: (...arguments) => location => Iterable<locations>

The function is in curried form. It expects a variable arg-set that is used to select/filter starting from the current location.

Each argument can be:
- a 'string' which is interpreted as descending into a property. The property should have an element (or child elements)
- an array of strings which is interpreted as the predicate `ofKind` 
- a function returning a list of locations (selector or motion function)
- a predicate function used to filter out nodes

Also implements the functions that can me used in the `select` function, in some of the following categories:
- selectors
  - `ancestors` an iterable of the location's ancestors; nearest parent first
  - `descendants`, an iterable of all descendants, depth-first, right-to-left
  - `children` an iterable of the location's children
  - `childrenAt(key)` an iterable of the location's children for the specified key
- predicates
  - `ofKind(kind)` a predicate function which will return true if the location points to an element the given kind

Closes #53

548 of 731 branches covered (74.97%)

Branch coverage included in aggregate %.

70 of 70 new or added lines in 4 files covered. (100.0%)

1204 of 1413 relevant lines covered (85.21%)

53.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 421.1 12 Jan 2019 07:51PM UTC 0
81.72
Travis Job 421.1
Source Files on build 421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #421
  • 6abab00f on github
  • Prev Build on master (#417)
  • Next Build on master (#423)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc