Skip to content

Instantly share code, notes, and snippets.

@nicholasf
Created October 9, 2009 04:38
Show Gist options
  • Save nicholasf/205713 to your computer and use it in GitHub Desktop.
Save nicholasf/205713 to your computer and use it in GitHub Desktop.
<!-- which one for attribute expressions? -->
1. <span :if="foo">hello</span><span :else>goodbye</span>
2. <span ::if="foo">hello</span><span ::else>goodbye</span>
3. <span c:if="foo">hello</span><span c:else>goodbye</span>
4. <span r:if="foo">hello</span><span r:else>goodbye</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment