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

Dica-Developer / weplantaforest
59%
master: 57%

Build:
Build:
LAST BUILD BRANCH: tasklist
DEFAULT BRANCH: master
Repo Added 25 Feb 2015 10:44AM UTC
Files 201
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

LAST BUILD ON BRANCH svgbutton
branch: svgbutton
CHANGE BRANCH
x
Reset
  • svgbutton
  • avoid-stackoverflow-on-lazy-entities
  • co2calculator
  • css_changes
  • css_fixes
  • deploy-scripts
  • design_enhancement
  • extract_menuitems_from_profile
  • feature-events
  • feature/13
  • feature/i18n
  • feature/startover
  • feature/ui-architecture
  • feature/webpack
  • jörg-räumt-auf
  • labeling
  • master
  • nightwatch
  • plant_online
  • project_tile
  • props-instead
  • renamed_backoffice_items
  • reorganizing_sitestructure
  • security
  • task_list
  • tasklist
  • tasks
  • translation_en
  • unify_styling
  • voucher_section
  • webpack_4_upgrade_2

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

Relevant lines Covered
Build:
Build:
5389 RELEVANT LINES 3153 COVERED LINES
0.59 HITS PER LINE
Source Files on svgbutton
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1444 svgbutton 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 (o... push 19 Dec 2017 04:48PM UTC gabor travis-ci pending completion  
1442 svgbutton cleaned up assets push 17 Dec 2017 03:45PM UTC Charokee travis-ci pending completion  
1441 svgbutton replaced remaining svgs push 17 Dec 2017 01:45PM UTC Charokee travis-ci pending completion  
See All Builds (1219)
  • Repo on GitHub
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