Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Implement deferred object #11

Closed
alexanderdickson opened this Issue Feb 20, 2012 · 4 comments

Comments

Projects
None yet
2 participants
Owner

alexanderdickson commented Feb 20, 2012

Implement jQuery's deferred object for callbacks.

Owner

alexanderdickson commented Oct 16, 2013

I've decided to not implement this.

While returning a promise would work for the main use case (when all descendant images have loaded), it would lead to an inconsistent API for handling the per-image callback (which would remain as a callback).

afeld commented Oct 17, 2013

It could be done through progress handlers, right?

Owner

alexanderdickson commented Oct 17, 2013

Hadn't seen that before, thanks.

However, I'm going to leave this closed before as it'd be inconsistent with jQuery's collection based APIs.

Owner

alexanderdickson commented Nov 13, 2014

Added in 0249d71

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