From eaaac3ab358d5d836f3b3eacf4851125d41fe168 Mon Sep 17 00:00:00 2001 From: dengyaolong Date: Tue, 25 Aug 2015 18:59:47 +0800 Subject: [PATCH] use terr instead of te to throw error --- snippets/javascript/javascript.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index 2a457e4..11f3f76 100644 --- a/snippets/javascript/javascript.snippets +++ b/snippets/javascript/javascript.snippets @@ -90,7 +90,7 @@ snippet tryf ${3:/* be executed regardless of the try / catch result*/} } # throw Error -snippet te +snippet terr throw new Error('${1:error message}') # return snippet ret