More JS console. snippets

This commit is contained in:
Louis Pilfold 2014-10-10 16:50:51 +01:00
parent 850fee18b0
commit 59c1db473f
2 changed files with 12 additions and 1 deletions

View File

@ -47,4 +47,3 @@ snippet stdout
process.stdout process.stdout
snippet stderr snippet stderr
process.stderr process.stderr

View File

@ -237,6 +237,18 @@ snippet cl
# console.debug # console.debug
snippet cd snippet cd
console.debug(${0}); 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 # Misc