Added 'for in do' coffeescript snippet
This commit is contained in:
parent
b1d377d1ab
commit
e1e10b9161
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user