Merge pull request #139 from Layzie/improve_javascript

Propose tertiary conditional for JavaScript
This commit is contained in:
Honza Pokorny 2012-09-30 09:33:58 -07:00
commit ff07c7747d

View File

@ -32,11 +32,11 @@ snippet ife
${3}
}
# tertiary conditional
snippet t
snippet ter
${1:/* condition */} ? ${2:a} : ${3:b}
# switch
snippet switch
switch(${1:expression}) {
switch (${1:expression}) {
case '${3:case}':
${4:// code}
break;