Modify ↓
Ticket #10367 (closed enhancement: duplicate)
Allow passing an array of promises to jQuery.when
| Reported by: | jdc0589@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | deferred | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It would be convenient if passing an array of promises as the first argument to jQuery.when behaved the same as passing multiple promises as separate parameters.
I know this can be achieved by simple calling jQuery.when.apply(null, [...] , but it would be nice if it wasn't necessary.
Change History
comment:1 Changed 20 months ago by ajpiano
- Status changed from new to closed
- Resolution set to duplicate
comment:3 Changed 20 months ago by rwaldron
- Status changed from closed to reopened
- Resolution duplicate deleted
comment:4 Changed 20 months ago by rwaldron
- Status changed from reopened to closed
- Resolution set to duplicate
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.
