thinkpixellab / PxLoader

PxLoader is a simple JavasScript library for creating preloaders and resource downloaders for HTML5 apps.
http://thinkpixellab.com/pxloader
1.11k stars 173 forks source link

Complete listener does not necessarily fire last #20

Closed dmrobbins03 closed 8 years ago

dmrobbins03 commented 11 years ago

Hi guys,

Could you please update your addCompletionListener() to always fire last (after progress events)?

I noticed that it is pushed into your array of progress event listeners, which does not guarantee consistent event fire order.

Thank you, David

mattlohkamp commented 11 years ago

seconded - I'd expect the completion event to fire after the last progress event.