JSFiddle - React, Tailwind, and code Playground
by phgrey
CoffeeScript
a = $.Deferred()
a.progress ->
console.log 'a progress', arguments
c = $.Deferred()
c.progress ->
console.log 'c progress', arguments
b = $.when(a, c)
b.then ->
console.log 'b done', arguments
b.progress ->
console.log 'b progress', arguments
a.notify 'ololo1'
a.resolve('resolve1')
b.notify 'ololo2'