$.when( deferred ).done() (serious?) regression #3029

Closed
dmethvin opened this Issue Mar 30, 2016 · 0 comments

Projects

None yet

3 participants

@dmethvin
Member

This was discussed on IRC but it doesn't look like a code ticket was created. There is one for the docs at jquery/api.jquery.com#904 because the example in $.when() is pretty bad, but the main problem is that .done() now gets an array instead of individual args.

Repro here: http://jsbin.com/civaxelixa/edit?html,console

Marking this as a blocker for the moment.

@dmethvin dmethvin added this to the 3.0.0 milestone Mar 30, 2016
@gibson042 gibson042 was assigned by timmywil Apr 5, 2016
@gibson042 gibson042 added a commit to gibson042/jquery that referenced this issue Apr 26, 2016
@gibson042 gibson042 Deferred: Separate the two paths in jQuery.when
Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.

Fixes gh-3029
fca4a6a
@gibson042 gibson042 added a commit to gibson042/jquery that referenced this issue Apr 27, 2016
@gibson042 gibson042 Deferred: Separate the two paths in jQuery.when
Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.

Fixes gh-3029
6af17b9
@gibson042 gibson042 added a commit that closed this issue May 2, 2016
@gibson042 gibson042 Deferred: Separate the two paths in jQuery.when
Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.

Fixes gh-3029
Closes gh-3059
356a3bc
@gibson042 gibson042 closed this in 356a3bc May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment