From e1e10b91617e8af4475b16464d0944777b6a6d89 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Tue, 25 Sep 2012 17:05:04 -0300 Subject: [PATCH] Added 'for in do' coffeescript snippet --- snippets/coffee.snippets | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snippets/coffee.snippets b/snippets/coffee.snippets index dfe3658..df537a9 100644 --- a/snippets/coffee.snippets +++ b/snippets/coffee.snippets @@ -1,3 +1,8 @@ +# Closure loop +snippet forindo + for ${1:name} in ${2:array} + do (${1:name}) -> + ${3:// body} # Array comprehension snippet fora for ${1:name} in ${2:array}