Skip to content

Commit 886befa

Browse files
ybiquitousAndreaCrotti
authored andcommittedSep 14, 2017
1 parent 5c3bb7a commit 886befa

File tree

1 file changed

+3
-3
lines changed
  • snippets/js-mode

1 file changed

+3
-3
lines changed
 

‎snippets/js-mode/each

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# -*- mode: snippet -*-
2-
#name : each
1+
# -*- mode: snippet; require-final-newline: nil -*-
2+
# name: each
33
# --
4-
${1:collection}.each(function($2) {
4+
${1:collection}.forEach(function (${2:elem}) {
55
$0
66
});

0 commit comments

Comments
 (0)
Please sign in to comment.