add b flag and edit placeholder

This commit is contained in:
Gilad Peleg 2014-05-07 15:09:41 +03:00
parent d0d1e59ad0
commit 98b1b48d92

View File

@ -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