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

katspaugh / wavesurfer.js / 1914 / 1
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2019 09:28PM UTC
Files 18
Run time 155min
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

06 Mar 2019 09:25PM UTC coverage: 68.956% (-0.4%) from 69.35%
1914.1

push

travis-ci

thijstriemstra
regions plugin: display regions before file load (#1441)

Pre-generated peaks waits for the audio length, either from loaded audio or from explicitDuration. This PR adds explicitDuration as an argument for the WebAudio constructor. This allows it to be defined up front.

I've also updated the regions plugin initialization to make use of this information so the "backend-created" event is used to add regions, rather than the "ready" event which only fires when a song has finished loading.

* Fix to make pre-generated peaks and regions to load together with an explicit duration

* Return empty peaks if envelope not set and buffer not set

* Avoid changing region limits based on duration because duration value changes as data is loaded

* address review comment: use camel-case

* remove listener in destroy

* rename duration option

* use duration param

279 of 528 branches covered (52.84%)

713 of 1034 relevant lines covered (68.96%)

4652.56 hits per line

Source Files on job 1914.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 580
  • Travis Job 1914.1
  • ff5d8b44 on github
  • Prev Job for on master (#1909.1)
  • Next Job for on master (#1919.1)
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