Skip to main content

Bug Tracker

Side navigation

#11172 closed bug (duplicate)

Opened January 13, 2012 11:07PM UTC

Closed January 14, 2012 12:06AM UTC

Last modified March 14, 2012 10:24AM UTC

Wouldn't it be great if when() could accept an array?

Reported by: chrispaterson82@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

Right now if I have a list (array) of Deferreds I have to call

.when.apply(this, myArray).always(/* do something */);

it would be nice if the when function first checked for an array. So you could pass:

.when(myArray).always(/* do something */);
Attachments (0)
Change History (5)

Changed January 14, 2012 12:05AM UTC by rwaldron comment:1

resolution: → duplicate
status: newclosed

Changed January 14, 2012 12:05AM UTC by rwaldron comment:2

Duplicate of #10367.

Changed January 14, 2012 12:06AM UTC by rwaldron comment:3

resolution: duplicate
status: closedreopened

Changed January 14, 2012 12:06AM UTC by rwaldron comment:4

resolution: → duplicate
status: reopenedclosed

Changed January 14, 2012 12:06AM UTC by rwaldron comment:5

Duplicate of #8256.