Add omitted descriptions

This commit is contained in:
Renzo Poddighe 2015-07-29 17:09:06 +02:00
parent 5647a7fc51
commit e87dfec535

View File

@ -12,11 +12,11 @@ snippet ex "module.exports"
module.exports = ${1};
endsnippet
snippet hcs
snippet hcs "http.createServer"
http.createServer(${1}).listen(${2});
endsnippet
snippet ncs
snippet ncs "net.createServer"
net.createServer(function(${1:socket}){
${1}.on('data', function(${3:data}){
${4}
@ -27,25 +27,25 @@ net.createServer(function(${1:socket}){
}).listen(${6:8124});
endsnippet
snippet pipe
snippet pipe "pipe"
pipe(${1:stream})${2}
endsnippet
# Express snippets
snippet eget
snippet eget "express GET"
${1:app}.get('${2}', ${3});
endsnippet
snippet epost
snippet epost "express POST"
${1:app}.post('${2}', ${3});
endsnippet
snippet eput
snippet eput "express PUT"
${1:app}.put('${2}', ${3});
endsnippet
snippet edelete
snippet edelete "express DELETE"
${1:app}.delete('${2}', ${3});
endsnippet