javascript snippet bugfixes: some of them didn't need semicolons. some of them didn't space properly.
This commit is contained in:
parent
11a541c5cd
commit
c2c75968d7
@ -19,16 +19,20 @@ snippet f
|
||||
function(${1}) { ${0:$TM_SELECTED_TEXT} };
|
||||
|
||||
snippet if
|
||||
if (${1:true}) {${0:$TM_SELECTED_TEXT}};
|
||||
|
||||
if (${1:true}) {
|
||||
${0:$TM_SELECTED_TEXT}
|
||||
}
|
||||
|
||||
snippet ife
|
||||
if (${1:true}) {${0:$TM_SELECTED_TEXT}} else{};
|
||||
if (${1:true}) {
|
||||
${0:$TM_SELECTED_TEXT}
|
||||
} else {
|
||||
}
|
||||
|
||||
snippet for
|
||||
for (var ${2:i}=0; $2 < ${1:Things}.length; $2++) {
|
||||
${0}
|
||||
};
|
||||
}
|
||||
|
||||
snippet forin
|
||||
for (var ${2:i} in ${1:Things}) {
|
||||
|
Loading…
Reference in New Issue
Block a user