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
iam4x
94.17K
ericdfields
63.02K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#