scala-js/scala-js-dom

TimeRanges start and stop have wrong type (Int instead of Double)

Sciss opened this issue · 3 comments

Sciss commented

Here:

I am getting runtime errors:

Uncaught scala.scalajs.runtime.UndefinedBehaviorError: An undefined behavior was detected: 67.57 is not an instance of java.lang.Integer

I think these values are measured in seconds that have been buffered.

sjrd commented

PR welcome :-)

Sciss commented

Yes, sorry, next time! Thanks for your work.

Oh, sorry, didn't mean to steal that from you- I tend to fix these up as I find them :) new contributors always welcome!