diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index 0eb26cb..bfc53ee 100644 --- a/snippets/javascript/javascript.snippets +++ b/snippets/javascript/javascript.snippets @@ -1,12 +1,12 @@ # prototype snippet proto - ${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) { - ${0:// body...} + ${1:class_name}.prototype.${2:method_name} = function(${3}) { + ${0} }; # Function snippet fun - function ${1:function_name}(${2:argument}) { - ${0:// body...} + function ${1:function_name}(${2}) { + ${0} } # Anonymous Function snippet f