Make IIFE airbnb style friendly
This commit is contained in:
parent
b519e79421
commit
691c99cc3a
@ -59,7 +59,7 @@ ${1:var }${2:function_name} = function $2(${3}) {
|
||||
endsnippet
|
||||
|
||||
snippet iife "Immediately-Invoked Function Expression (iife)"
|
||||
(function (${1:argument}) {
|
||||
(function(${1:window}) {
|
||||
${VISUAL}$0
|
||||
}(${2:$1}));
|
||||
endsnippet
|
||||
|
Loading…
x
Reference in New Issue
Block a user