1.0.2 • Published 8 years ago
yes-or-no v1.0.2
Yes or No
Allow simple binary forking inside handlebar files for Ember:
{{#if (yes-or-no)}}
yay!
{{else}}
boooo
{{/if}}
or for a weighted probability skewed towards yes:
{{if (yes-or-no 0.75) 'green' 'red'}}