Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

[bug 1032455] Fix post-merge issues #3349

Merged
merged 1 commit into from Jul 16, 2015

Conversation

hoosteeno
Copy link
Contributor

No description provided.

{{ js('document') }}
{% if waffle.flag('share_links') %}
{{ js('social') }}
{% endif %}
Copy link
Contributor

Choose a reason for hiding this comment

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

In case those flags are exclusive there is also {% elif %}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both/either/neither are all valid. That's why the original code didn't work -- it coupled them.

Copy link
Contributor

Choose a reason for hiding this comment

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

Understood 👍

@stephaniehobson
Copy link
Contributor

R+

stephaniehobson added a commit that referenced this pull request Jul 16, 2015
[bug 1032455] Fix post-merge issues
@stephaniehobson stephaniehobson merged commit 0a3f1f9 into mdn:master Jul 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants