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

Dica-Developer / weplantaforest / 1444
59%
master: 57%

Build:
Build:
LAST BUILD BRANCH: tasklist
DEFAULT BRANCH: master
Ran 19 Dec 2017 04:48PM UTC
Jobs 1
Files 188
Run time 9s
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
1444

push

travis-ci

gabor
extracted svg button parameters into own file svgParams.js

* every object has the same props(title, width height etc) and is applied via svgParams[buttonType] ...
* according to this props the variable svgButton is created in the render method (only a html string at this moment)
* the string for this html is compiled via <div dangerouslySetInnerHTML={{ __html: svgButton }} />
** i think the code is more readable now and adding new svg buttons should also be quite easy by extending svgParams.js file and using the button via   <SvgButton text="[NEW TEXT]" buttonType="[NEW SVG BUTTON]" onClick={this.showRight.bind(this)} />

3153 of 5389 relevant lines covered (58.51%)

0.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1444.1 19 Dec 2017 04:48PM UTC 0
58.51
Travis Job 1444.1
Source Files on build 1444
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1444
  • 3d91e61d on github
  • Prev Build on svgbutton (#1442)
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