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

netceteragroup / girders-elements / 260 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 02 Jan 2018 10:09AM UTC
Files 69
Run time 2s
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

02 Jan 2018 10:07AM UTC coverage: 83.646% (+0.1%) from 83.508%
260.1

push

travis-ci

web-flow
Implement zip.editCond (#89)

Utility function that mimics the behavior of transformers: a way to walk the element tree and perform edits for given patterns.

The function has the signature:
```javascript
editCond :: patterns -> loc -> loc
```
Where patterns is an array of `[pattern, editFn]` touples.
A pattern can be either a function, in which case it is treated as a predicate; alternatively it can be an element kind expression, in which case it will match all elements of that kind.

e.g.
```javascript
zip.editCond(
  [
    [e => e.has('property'), e => e.set('updated', true),
    ['__read',  e => e.set('isRead', true),
    [['document', 'article'], e => e.set('isDocumentArticle', true)
  ],
 initialLocation
)
```

Closes #81

317 of 475 branches covered (66.74%)

803 of 960 relevant lines covered (83.65%)

47.12 hits per line

Source Files on job 260.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 260
  • Travis Job 260.1
  • a49d9b54 on github
  • Prev Job for on master (#259.1)
  • Next Job for on master (#261.1)
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

© 2026 Coveralls, Inc