katspaugh / wavesurfer.js

Audio waveform player
https://wavesurfer.xyz
BSD 3-Clause "New" or "Revised" License
8.78k stars 1.63k forks source link

Error thrown on region-created event #1982

Closed jsbroks closed 4 years ago

jsbroks commented 4 years ago

Wavesurfer.js version(s):

4.0.0

Browser and operating system version(s):

Chrome,Ubuntu

Code needed to reproduce the issue:

Create an event listener for 'region-created', an error is thrown when a region is created. 'Cannot find 'includes' of undefined.'

Downgraded back to 3.3.3 , no issues.

marizuccara commented 4 years ago

Hi @jsbroks , solved with version 4.0.1