I can’t believe my eyes. Barry did a complete redesign of the CSS in 12 hours. CSS monster or rather, master!
Now, some intermediate promises:
var p1 = p1Collection.fetch(); var p2 = p2Collection.fetch(); $.when(p1, p2) .done(function(){}) .fail(function(){ if (p1.state() === 'rejected') { // } if (p2.state() === 'rejected') { // } });