$.when should accept an array of promises
|Reported by:||me@…||Owned by:|
Description (last modified by jaubourg)
This would be super nice, because $.when.apply($, promisesArr) looks converugly.
I'm not sure if there's a case where you'd want an array to be treated like a resolved Deferred that this would break – if so, maybe you could peek at the first element to see if it's a promise?
Change History (10)
comment:1 Changed 6 years ago by jaubourg
- Description modified (diff)
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 6 years ago by jitter
- Component changed from unfiled to core
- Priority changed from undecided to low