From 1df9d6cc6638b410594e3019c3cdcd03fe9fdfb9 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 18 Sep 2014 15:59:42 +0100 Subject: [PATCH] Replaced documentary js placeholders --- snippets/javascript/javascript.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index da60381..ec0a97f 100644 --- a/snippets/javascript/javascript.snippets +++ b/snippets/javascript/javascript.snippets @@ -1,11 +1,11 @@ # prototype snippet proto - ${1}.prototype.${2} = function(${3}) { + ${1:class_name}.prototype.${2:method_name} = function(${3}) { ${0} }; # Function snippet fun - function ${1}(${2}) { + function ${1:function_name}(${2}) { ${0} } # Anonymous Function