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

netceteragroup / girders-elements / 260
83%

Build:
DEFAULT BRANCH: master
Ran 02 Jan 2018 10:09AM UTC
Jobs 1
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

pending completion
260

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

Jobs
ID Job ID Ran Files Coverage
1 260.1 02 Jan 2018 10:09AM UTC 0
83.65
Travis Job 260.1
Source Files on build 260
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #260
  • a49d9b54 on github
  • Prev Build on master (#259)
  • Next Build on master (#261)
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