Open probityrules opened 4 years ago
This fixes a few issues with the {src: "path/to/file", id: "audioId"} format for both sound registration and sound removal:
{src: "path/to/file", id: "audioId"}
registerSounds
id
registerSound
src
{id: "audioId"}
_fetchByUrlArray
_fetchByUrlHash
This fixes a few issues with the
{src: "path/to/file", id: "audioId"}
format for both sound registration and sound removal:registerSounds
passes theid
toregisterSound
for each entry if it's defined.src
property in a hash.{id: "audioId"}
format to mirror sound registration, like SoundJS v1._fetchByUrlArray
for_fetchByUrlHash
since it appeared to be missing.