Add JS function assigned to variable snippet
This commit is contained in:
parent
13a14fa514
commit
6448deadba
@ -13,6 +13,11 @@ snippet f
|
||||
function(${1}) {
|
||||
${0}
|
||||
}
|
||||
# Function assigned to variable
|
||||
snippet vf
|
||||
var ${1} = function ${1}(${2}) {
|
||||
${0}
|
||||
}
|
||||
# Immediate function
|
||||
snippet (f
|
||||
(function(${1}) {
|
||||
|
Loading…
Reference in New Issue
Block a user