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
|
||||
|
||||
snippet ife "if ___ else"
|
||||
if (${1:true}) {$0} else{};
|
||||
if (${1:condition}) {
|
||||
${2://code}
|
||||
}
|
||||
else {
|
||||
${3://code}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet if "if"
|
||||
if (${1:true}) {$0};
|
||||
if (${1:condition}) {
|
||||
${0://code}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet timeout "setTimeout function"
|
||||
|
@ -1307,6 +1307,7 @@ Contributors listed in chronological order:
|
||||
Steven Humphrey (shumphrey)
|
||||
Björn Winckler (b4winckler)
|
||||
David Brown (Nali4Freedom)
|
||||
Harry Xu (harryxu)
|
||||
|
||||
Thank you for your support.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user