Modify ↓
Ticket #11172 (closed bug: duplicate)
Wouldn't it be great if when() could accept an array?
| Reported by: | chrispaterson82@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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 */);
Change History
comment:1 Changed 16 months ago by rwaldron
- Status changed from new to closed
- Resolution set to duplicate
comment:3 Changed 16 months ago by rwaldron
- Status changed from closed to reopened
- Resolution duplicate deleted
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
