Skip to content

Instantly share code, notes, and snippets.

@doowb
Created January 22, 2014 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doowb/8563987 to your computer and use it in GitHub Desktop.
Save doowb/8563987 to your computer and use it in GitHub Desktop.
<%= foo %>
<%= foo.bar %>
<%= foo.bar.baz %>
<%= foo() %>
<%= foo.bar() %>
<%= _.foo() %>
<%= _.foo(bar) %>
<%= _.foo("baz") %>
All of those without the = sign. Since it's used in property value templates I'd assume that it would always return a value.
All of those but with the es6 dilimiter ${ }.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment