Skip to content

Commit

Permalink
Minor leaderboard example simplification. Replaced {{#unless}} with {…
Browse files Browse the repository at this point in the history
…{else}}.
  • Loading branch information
rzymek authored and Matt DeBergalis committed Nov 5, 2013
1 parent fa06778 commit 2946346
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/leaderboard/leaderboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
<div class="name">{{selected_name}}</div>
<input type="button" class="inc" value="Give 5 points" />
</div>
{{/if}}

{{#unless selected_name}}
{{else}}
<div class="none">Click a player to select</div>
{{/unless}}
{{/if}}
</template>

<template name="player">
Expand Down

0 comments on commit 2946346

Please sign in to comment.