Improvements to the js snippets by Harry Xu.
This commit is contained in:
commit
d4bda4f95f
@ -51,11 +51,18 @@ function ${1:function_name} (${2:argument}) {
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet ife "if ___ else"
|
snippet ife "if ___ else"
|
||||||
if (${1:true}) {$0} else{};
|
if (${1:condition}) {
|
||||||
|
${2://code}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
${3://code}
|
||||||
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet if "if"
|
snippet if "if"
|
||||||
if (${1:true}) {$0};
|
if (${1:condition}) {
|
||||||
|
${0://code}
|
||||||
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet timeout "setTimeout function"
|
snippet timeout "setTimeout function"
|
||||||
|
@ -1307,6 +1307,7 @@ Contributors listed in chronological order:
|
|||||||
Steven Humphrey (shumphrey)
|
Steven Humphrey (shumphrey)
|
||||||
Björn Winckler (b4winckler)
|
Björn Winckler (b4winckler)
|
||||||
David Brown (Nali4Freedom)
|
David Brown (Nali4Freedom)
|
||||||
|
Harry Xu (harryxu)
|
||||||
|
|
||||||
Thank you for your support.
|
Thank you for your support.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user