There should be no space between the name of a function and the "("

See here: http://javascript.crockford.com/code.html
This commit is contained in:
Marcin Kulik 2012-04-27 21:36:20 +02:00
parent 15ab315ff9
commit 18e3c9f881

View File

@ -6,7 +6,7 @@ snippet proto
}; };
# Function # Function
snippet fun snippet fun
function ${1:function_name} (${2:argument}) { function ${1:function_name}(${2:argument}) {
${3:// body...} ${3:// body...}
} }
# Anonymous Function # Anonymous Function