diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index f4ef351..da60381 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}.prototype.${2} = function(${3}) { + ${0} }; # Function snippet fun - function ${1:function_name}(${2:argument}) { - ${0:// body...} + function ${1}(${2}) { + ${0} } # Anonymous Function snippet f