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:
parent
e34f2a6151
commit
a30d36b883
@ -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}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user