Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Implement deferred object #11

Closed
alexanderdickson opened this Issue · 4 comments

2 participants

@alexanderdickson

Implement jQuery's deferred object for callbacks.

@alexanderdickson

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

It could be done through progress handlers, right?

@alexanderdickson

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.

@alexanderdickson

Added in 0249d71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.