katspaugh/wavesurfer.js — pull request #40 by jonty-comp (2013-08-22 20:44:01+00:00)
Title: Do not attempt to add an offset to the position timing if the offset is NaN

Just found this project this afternoon - perfect, just what I was looking for. :D There was just this one small thing that was stopping me from having a (time:elapsed / total:time) style counter alongside my waveform player, and that was that if you don't pass an offset to the timings function then it's NaN and the Math.min() function will also return NaN as that is smaller than duration.

Thanks for making this!