IcedCoffeeScript and Rails
IcedCoffeeScript is a superset of CoffeeScript which introduces two new keywords, await
and defer
. These keywords are used to generate continuations to avoid callback pyramids.
iced-rails adds support for .iced
IcedCoffeeScript files. Because IcedCoffeeScript adds some boilerplate to handle the continuation generation this should help avoid confusions which would arise from simply overwriting .coffee CoffeeScript handling.
Written by Raphael Randschau
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Coffeescript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#