For backwards compatibility, I might recommend making this options.loop instead of options.loops. Unless maybe it's going to behave functionally different from the original 1.0 loop property?
|
let loops = Number(options.loops); |
(It took me some time to figure out that the spec for this changed, so I wanted to note it here.)
For backwards compatibility, I might recommend making this
options.loopinstead ofoptions.loops. Unless maybe it's going to behave functionally different from the original 1.0loopproperty?SoundJS/src/Playback.js
Line 72 in 03191e6
(It took me some time to figure out that the spec for this changed, so I wanted to note it here.)