Skip to content

Instantly share code, notes, and snippets.

@JasonMore
Created March 20, 2012 17:54
Show Gist options
  • Save JasonMore/2138687 to your computer and use it in GitHub Desktop.
Save JasonMore/2138687 to your computer and use it in GitHub Desktop.
Ugly backbone templating
<script type="text/template" id="item-template">
<div class="todo <%= done ? 'done' : '' %>">
<input class="check" type="checkbox" <%= done ? 'checked="checked"' : '' %> />
</div>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment