Skip to content

Commit

Permalink
add b flag and edit placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilad committed May 7, 2014
1 parent d0d1e59 commit 98b1b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UltiSnips/javascript.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98b1b48

Please sign in to comment.