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 comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed January 14, 2012 12:06AM UTC by comment:3
resolution: | duplicate |
---|---|
status: | closed → reopened |
Changed January 14, 2012 12:06AM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | reopened → closed |