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

Commit

Permalink
Merge pull request #631 from fd-rey/master
Browse files Browse the repository at this point in the history
Fix for...of autocomplete, variable declaration
  • Loading branch information
jasonrudolph authored Sep 23, 2019
2 parents a37d7d2 + 9c6b4fc commit 19271dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/language-javascript.cson
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'body': 'for (var ${1:variable} in ${2:object}) {\n\t${3:if (${2:object}.hasOwnProperty(${1:variable})) {\n\t\t$4\n\t\\}}\n}'
'for of':
'prefix': 'forof'
'body': 'for (${1:variable} of ${2:iterable}) {\n\t$3\n}'
'body': 'for (var ${1:variable} of ${2:iterable}) {\n\t$3\n}'
'Function':
'prefix': 'fun'
'body': 'function ${1:functionName}($2) {\n\t$0\n}'
Expand Down

0 comments on commit 19271dc

Please sign in to comment.