Bug Tracker

Modify

Ticket #10367 (closed enhancement: duplicate)

Opened 20 months ago

Last modified 14 months ago

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:2 Changed 20 months ago by ajpiano

Duplicate of #10307.

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

comment:5 Changed 20 months ago by rwaldron

Duplicate of #8256.

comment:6 Changed 20 months ago by rwaldron

  • Priority changed from undecided to low
  • Component changed from unfiled to deferred

comment:7 Changed 16 months ago by rwaldron

#11172 is a duplicate of this ticket.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.