Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52b4f19

Browse files
committed
Merge pull request honza#518 from leonidez/patch-1
fix :f snippet skipping over function body
2 parents c522e2b + fc7bf97 commit 52b4f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/javascript/javascript.snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ snippet fori
112112
# Object Method
113113
snippet :f
114114
${1:method_name}: function (${2:attribute}) {
115-
${0}
116-
}${3:,}
115+
${3}
116+
},
117117
# hasOwnProperty
118118
snippet has
119119
hasOwnProperty(${0})

0 commit comments

Comments
 (0)