Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 19271dc

Browse files
authored
Merge pull request #631 from fd-rey/master
Fix for...of autocomplete, variable declaration
2 parents a37d7d2 + 9c6b4fc commit 19271dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: snippets/language-javascript.cson

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'body': 'for (var ${1:variable} in ${2:object}) {\n\t${3:if (${2:object}.hasOwnProperty(${1:variable})) {\n\t\t$4\n\t\\}}\n}'
3535
'for of':
3636
'prefix': 'forof'
37-
'body': 'for (${1:variable} of ${2:iterable}) {\n\t$3\n}'
37+
'body': 'for (var ${1:variable} of ${2:iterable}) {\n\t$3\n}'
3838
'Function':
3939
'prefix': 'fun'
4040
'body': 'function ${1:functionName}($2) {\n\t$0\n}'

0 commit comments

Comments
 (0)