Skip to content

Commit 2e56d92

Browse files
committed
Merge pull request Shougo#40 from faceleg/master
Added iife to javascript
2 parents 37a286a + 30df22a commit 2e56d92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

neosnippets/javascript.snip

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,10 @@ snippet console-log
7272
alias cl
7373
options head
7474
console.log(${0:TARGET});
75+
76+
snippet iife
77+
options head
78+
(function(${1}) {
79+
'use strict';
80+
${0:TARGET}
81+
})(${2});

0 commit comments

Comments
 (0)