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

Fix for...of autocomplete, variable declaration #631

Merged
merged 1 commit into from
Sep 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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