Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
empty when resolves with 1 undefined argument in jQuery 3 (was 0 arguments in jQuery 2) #3442
I use dynamic array of deferreds to load 0 to N things and then loop through the arguments in the done callback. Upgrading to jQuery 3.1.1 from 2.2.4 and now my code breaks :(
Link to test case
Minimal test case is call $.when with no arguments, so it should resolve with no arguments too...