Merge pull request #449 from lpil/var-fun
Add JS function assigned to variable snippet
This commit is contained in:
commit
2c55662d91
@ -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