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

wikimedia / parsoid / 2418
85%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2019 09:13PM UTC
Jobs 3
Files 116
Run time 10min
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
2418

push

travis-ci

cscott
<a href="https://github.com/wikimedia/parsoid/commit/7719cb258">Introduce new DOMUtils.{match,has}TypeOf()/{match,has}NameAndTypeOf() helpers

This splits the typeof attribute and then matches on each element, returning
the matching typeof value.

The existing DOMUtils.isNodeOfType() helper has been renamed to
{match,has}NameAndTypeOf() and tweaked to use DOMUtils.matchTypeOf(),
which magically makes it handle multiple space-separated typeof clauses.
Audited to make sure this is ok.

The `match` version always takes a regular expression and returns the
matching type, and the `has` version always takes a literal string and
returns a boolean.  This eases porting to PHP straight-forward, which
doesn&#39;t distinguish between regular expressions and string.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/4521df07c">4521df07c</a>

9526 of 11998 branches covered (79.4%)

14869 of 17609 relevant lines covered (84.44%)

89356.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2418.1 25 Mar 2019 09:17PM UTC 0
84.44
Travis Job 2418.1
2 2418.2 25 Mar 2019 09:13PM UTC 0
84.44
Travis Job 2418.2
3 2418.3 25 Mar 2019 09:23PM UTC 0
84.44
Travis Job 2418.3
Source Files on build 2418
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2418
  • 7719cb25 on github
  • Prev Build on master (#2417)
  • Next Build on master (#2419)
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