-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: {{#unless ...}} #9
Comments
All tags have hashes. I'll think about the inverse tags. Although the code
|
True, just realised the following: {{#if Paid}}{{#else}}Pay Now{{/if}} is identical to {{#unless Paid}}Pay Now{{/unless}} |
That is a pretty cool technique. I probably would have never thought of On Thu, Aug 1, 2013 at 8:47 AM, Paul Grimshaw notifications@github.comwrote:
|
Would it be possible to implement handler for {{#unless ...}}, which is an inverse of {{#if ...}}?
In certain situations this can save many nested ifs.
Also, I note that the handler bar docs use {{else}} without a hash tag, where as your version uses the hash. Don't have a huge issue with this, just wanted to check it was "By Design"
The text was updated successfully, but these errors were encountered: