From 59c1db473fcb8f1b57c12751d5e7b536231da912 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 10 Oct 2014 16:50:51 +0100 Subject: [PATCH] More JS console. snippets --- snippets/javascript/javascript.node.snippets | 1 - snippets/javascript/javascript.snippets | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/snippets/javascript/javascript.node.snippets b/snippets/javascript/javascript.node.snippets index 97876ab..abc3b8d 100644 --- a/snippets/javascript/javascript.node.snippets +++ b/snippets/javascript/javascript.node.snippets @@ -47,4 +47,3 @@ snippet stdout process.stdout snippet stderr process.stderr - diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index ebced46..350a031 100644 --- a/snippets/javascript/javascript.snippets +++ b/snippets/javascript/javascript.snippets @@ -237,6 +237,18 @@ snippet cl # console.debug snippet cd console.debug(${0}); +# console.trace +snippet ct + console.trace(${0:label}); +# console.time +snippet ctime + console.time(${0:label}); +# console.assert +snippet ca + console.assert(${1:expression}, ${0:obj}); +# console.dir +snippet cdir + console.dir(${0:obj}); # Misc