node require(re) snippet now can use new types of variables not only var by defult, can change in $1

This commit is contained in:
Pompeu 2016-01-10 01:21:56 -02:00
parent e34f2a6151
commit a30d36b883

View File

@ -5,7 +5,7 @@ snippet ex
module.exports = ${1}; module.exports = ${1};
# require # require
snippet re snippet re
var ${1} = require('${2:module_name}'); ${1:var} ${2} = require('${3:module_name}');
# EventEmitter # EventEmitter
snippet on snippet on
on('${1:event_name}', function(${2:stream}) { on('${1:event_name}', function(${2:stream}) {