Merge pull request #449 from lpil/var-fun

Add JS function assigned to variable snippet
This commit is contained in:
Honza Pokorny 2014-09-15 01:28:26 -03:00
commit 2c55662d91

View File

@ -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}) {