Skip to content

Commit 691c99c

Browse files
committed
Make IIFE airbnb style friendly
1 parent b519e79 commit 691c99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UltiSnips/javascript.snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ${1:var }${2:function_name} = function $2(${3}) {
5959
endsnippet
6060

6161
snippet iife "Immediately-Invoked Function Expression (iife)"
62-
(function (${1:argument}) {
62+
(function(${1:window}) {
6363
${VISUAL}$0
6464
}(${2:$1}));
6565
endsnippet

0 commit comments

Comments
 (0)