Better way of resolving a jquery array of promises

Thanks SO http://stackoverflow.com/questions/12206885/what-is-cleanest-way-to-turn-array-of-jquery-promises-into-a-jquery-promise-of-a