From 18e3c9f88109b365b9296494500487a6aedcf73e Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Fri, 27 Apr 2012 21:36:20 +0200 Subject: [PATCH] There should be no space between the name of a function and the "(" See here: http://javascript.crockford.com/code.html --- snippets/javascript.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/javascript.snippets b/snippets/javascript.snippets index 2d4aa9a..de50a0c 100644 --- a/snippets/javascript.snippets +++ b/snippets/javascript.snippets @@ -6,7 +6,7 @@ snippet proto }; # Function snippet fun - function ${1:function_name} (${2:argument}) { + function ${1:function_name}(${2:argument}) { ${3:// body...} } # Anonymous Function