[2.0 Beta] Attempting to fade out sound fails
When attempting to fade out a sound after fading it in, the sound ids referenced by the second fade call actually point to functions instead of proper sound ids.
How to test: (1) Inside of the fade method, place console.log("ID #" + i + ": " + ids[i] + " " + sound); after var sound = self._soundById(ids[i]); (2) Debug the fade functionality by using the developer console. (3) Notice that the first time you fade a Howl, the expected values appear in the output. (Example: ID #0: 8771747686 [object Object]) (4) The next time you call fade, the console will show this instead: ID #0: function () { howl.stop(); } null
This functionality used to work correctly in 1.1.28.
Oh, nevermind.
In the previous version, you used to pass in a callback at the end of the argument list. I neglected to utilize the event handler as mentioned in the documentation.