addCompletionListener callback parameter #17

Closed
sprintstar opened this Issue Aug 30, 2012 · 2 comments

3 participants

@sprintstar

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.

@mplabs

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) {
callback(e);
}

@joelfillmore
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