Remove needless semicolon separator from the end of for loops.
This commit is contained in:
parent
1ad1e67be1
commit
73377e6742
@ -54,12 +54,12 @@ snippet case
|
||||
snippet for
|
||||
for (var ${2:i} = 0; $2 < ${1:Things}.length; $2${3: += 1}) {
|
||||
${4:$1[$2]}
|
||||
};
|
||||
}
|
||||
# for (...) {...} (Improved Native For-Loop)
|
||||
snippet forr
|
||||
for (var ${2:i} = ${1:Things}.length - 1; $2 >= 0; $2${3: -= 1}) {
|
||||
${4:$1[$2]}
|
||||
};
|
||||
}
|
||||
# while (...) {...}
|
||||
snippet wh
|
||||
while (${1:/* condition */}) {
|
||||
@ -101,7 +101,7 @@ snippet ret
|
||||
snippet fori
|
||||
for (var ${1:prop} in ${2:Things}) {
|
||||
${3:$2[$1]}
|
||||
};
|
||||
}
|
||||
# hasOwnProperty
|
||||
snippet has
|
||||
hasOwnProperty(${1})
|
||||
|
Loading…
Reference in New Issue
Block a user