bugfix: JavaScript function literal is not only a statement but also an expression; you can pass the function literal as an argument for a function call.

This commit is contained in:
ujihisa 2012-10-25 18:54:21 -07:00
parent e24b6baeb9
commit 020c2f126e

View File

@ -6,7 +6,7 @@ options head
snippet function snippet function
alias func alias func
options head options word
function ${1:function_name}(${2:argument}) { function ${1:function_name}(${2:argument}) {
${0:// body...} ${0:// body...}
} }