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

reshape / custom-elements / 135
100%

Build:
DEFAULT BRANCH: master
Ran 03 Jun 2019 07:25PM UTC
Jobs 2
Files 1
Run time 31s
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
135

push

travis-ci

jescalan
Some additional features (#23)

* Update deps + rename options for clarity

* Add typescript definitions

reshapeCustomElements(..) returns a plain 'Function' for now since the core reshape module doesn't include definitions yet

* Make it possible to locally override the default replacement tag

This may not seem like a useful feature at first (since we're typing both the class an tag name again), but in my opinion it helps convey *semantic* meaning rather than *syntactical* meaning when editing templates.

Possible improvement points:
- Not sure how I'm supposed to handle multiple attribute values here
- pretty-quick is being a bit weird, are you sure this is how you want it to be formatted?
- Maybe a different default attribute name?
- Maybe a shorter option name?
- The replacementTag option (#22) should probably be renamed to defaultReplacementTag

* Custom tag ↔ replacement tag map option

The README could probably be worded better

* Move the HTML in the README to it's own (syntax highlighted) section

* Add a generic blacklist

* Change the replacementTagMap to a more convenient format

* Make sure option names are consistent and update TS definitions

* Infer additionalTags from replacementTagMap

31 of 31 branches covered (100.0%)

24 of 24 new or added lines in 1 file covered. (100.0%)

39 of 39 relevant lines covered (100.0%)

17.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 135.1 03 Jun 2019 07:25PM UTC 0
100.0
Travis Job 135.1
2 135.2 03 Jun 2019 07:26PM UTC 0
100.0
Travis Job 135.2
Source Files on build 135
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #135
  • 46df66e7 on github
  • Prev Build on master (#126)
  • Next Build on master (#137)
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