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