add b flag and edit placeholder
This commit is contained in:
parent
d0d1e59ad0
commit
98b1b48d92
@ -79,10 +79,10 @@ setTimeout(function() {
|
||||
}${2:.bind(${3:this})}, ${1:10});
|
||||
endsnippet
|
||||
|
||||
snippet fi "for prop in obj using hasOwnProperty"
|
||||
snippet fi "for prop in obj using hasOwnProperty" b
|
||||
for (${1:prop} in ${2:obj}){
|
||||
if ($2.hasOwnProperty($1)) {
|
||||
${0:// body...}
|
||||
$0
|
||||
}
|
||||
}
|
||||
endsnippet
|
||||
|
Loading…
x
Reference in New Issue
Block a user