Merge pull request #525 from nybblr/js-snippet-vaf
JS snippet: anonymous function variable assignment.
This commit is contained in:
commit
58a7ac7526
@ -15,6 +15,11 @@ snippet f
|
|||||||
function(${1}) {
|
function(${1}) {
|
||||||
${0}
|
${0}
|
||||||
}
|
}
|
||||||
|
# Anonymous Function assigned to variable
|
||||||
|
snippet vaf
|
||||||
|
var ${1:function_name} = function(${2}) {
|
||||||
|
${0}
|
||||||
|
};
|
||||||
# Function assigned to variable
|
# Function assigned to variable
|
||||||
snippet vf
|
snippet vf
|
||||||
var ${1:function_name} = function $1(${2}) {
|
var ${1:function_name} = function $1(${2}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user