Closed marcusstenbeck closed 10 years ago
Seems like a sensible change, one small question there. :grinning:
It might not be needed, I just wanted to make sure we don't accidentally get the same name twice. I'll make a little change to avoid using the while loop.
Updated and went for a counter instead of a random seed. I must've been tired yesterday when I wrote that code. ;)
I ran into trouble when making multiple request simultaneously. The callback was overwritten with each call, thus resulting in each request executing the code currently in the
window.mpSuccess()
function.Currently I've solved it by appending a random number to the callback function name. This solution might not be the best, but it's a start.