addCompletionListener callback parameter #17

sprintstar opened this Issue Aug 30, 2012 · 2 comments

3 participants


The documentation shows callbacks supplied to addCompletionListener get called with an event parameter, but it appears they don't. It would actually be useful if they did.


I fixed this by adding e as a parameter to callback in PxLoader.js on line 85.

Lines 84 to 86 should be:
if (e.completedCount === e.totalCount) {

Pixel Lab member

Sorry about the delay. Thanks @mplabs for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment