4 ms·
I think Iced CoffeeScript's await and defer are nicer. There is also LiveScript which has backcalls: x <- map _, [1 to 3] x * 2 # => [2, 4, 6]
by ilaksh 14y ago
I think Iced CoffeeScript's await and defer are nicer.
There is also LiveScript which has backcalls:
x <- map _, [1 to 3]
x * 2
# => [2, 4, 6]
data <-! $.get 'ajaxtest'
$ \.result .html data
processed <-! $.get 'ajaxprocess', data
$ \.result .append processed
I think the LiveScript syntax is awesome.