From 73377e6742e34c5d612bbcce8d8f1b8a97038f45 Mon Sep 17 00:00:00 2001 From: Christopher Joslyn Date: Mon, 30 Jan 2012 10:20:46 -0500 Subject: [PATCH] Remove needless semicolon separator from the end of for loops. --- snippets/javascript.snippets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/javascript.snippets b/snippets/javascript.snippets index a735f60..2d4aa9a 100644 --- a/snippets/javascript.snippets +++ b/snippets/javascript.snippets @@ -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})