Skip to content
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

expand conditionals into two sections #132

Closed
wants to merge 2 commits into from

Conversation

bglusman
Copy link
Contributor

@devmanhinton split into two sections and clarify a bit

```

or just

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of 'or just'.

'To add the a tag attribute only if the object attribute is true (or false) just
leave out the second clause.'

Or even cut this out. It seems like nice but extra syntax that a user might be able to figure out. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, can't do it if false, maybe with colon but without first condition? dunno...I thought it was funny mentioning it but not showing an example, but I could go either way I guess

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah actually do not mention that, though one could always do ? "" : cake to get the only when false behavior.

@bglusman
Copy link
Contributor Author

closing in favor of #147

@bglusman bglusman closed this Nov 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants