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

katspaugh / wavesurfer.js / 1914
82%

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

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%)

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

713 of 1034 relevant lines covered (68.96%)

4652.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1914.1 06 Mar 2019 09:28PM UTC 0
68.96
Travis Job 1914.1
Source Files on build 1914
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1914
  • ff5d8b44 on github
  • Prev Build on master (#1909)
  • Next Build on master (#1919)
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