Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update wavesurfer.minimap.js renders the minimap without the need to resize the window. Changed this.wavesurfer.on('ready', this.render.bind(this)); to this.wavesurfer.on('ready', my.render.bind(this)); * Update wavesurfer.minimap.js added the fixes for the drawPeaks() * update my.render to this.render * add parameter check renderOnLoad check to see if a parameter called "miniRenderOnLoad" is set to true, if it is render the minimap on load. * Update wavesurfer.minimap.js * add space after else * render minimap on load will update docs and create example for minimap plugin - minimap should be initialized within the main wavesurfer ready event.
- Loading branch information