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

katspaugh / wavesurfer.js / 2424
82%

Build:
DEFAULT BRANCH: master
Ran 07 Dec 2019 02:06PM UTC
Jobs 1
Files 22
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
2424

push

travis-ci

thijstriemstra
regions plugin: allow setting the handleColor inside addRegion (#1798)

* Allow setting the handleColor inside Region constructor

**Proposed change**
Currently we can set the handleColor for a region inside CSS, while this is great, it does not allow the user to set the handleColor dynamically. 

**Change**
- Added a new handleColor attribute to the Region constructor

**Potential issues**
- I currently moved out the creation of handleLeft and handleRight to the render function instead of inside resize just so that we don't have to create them again, I am not sure whether or not this has a performance impact.

**Things to know**
- The regular CSS solution still works as you would expect

* Introduced a new style object for handles

* fix lint errors

397 of 631 branches covered (62.92%)

1115 of 1383 relevant lines covered (80.62%)

4107.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2424.1 07 Dec 2019 02:06PM UTC 0
80.62
Travis Job 2424.1
Source Files on build 2424
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2424
  • 58e87912 on github
  • Prev Build on master (#2422)
  • Next Build on master (#2425)
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