Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
json2 undefined using waveform.dataFromSoundCloudTrack() #2
We came across that same issue. It's actually a scope-problem that is well-masked in coffeescript. We solved it by introducing a local variable for the counter.
We also solved the pollution in the window scope by switching around the
I am having this issue. Neother cucko nor ccoenen's solutions have worked for me. I am making a waveform call from within a modified sc-player.js.
I am not seeing the behavior described above. The error happens even with 2 calls on a page; it is not always the last item called; and it does not happen 100% of the time (though nearly 100%. I would say 95% of the time).
Here is a working example of the bug: http://jsfiddle.net/VHPkD/