Commit 64b53153 authored by addyosmani's avatar addyosmani

fixing escaped templates.

parent db81176c
......@@ -30,14 +30,14 @@
<script type="text/template" id="item-template">
<div class="view">
<input class="toggle" type="checkbox" <%= completed ? 'checked="checked"' : '' %> />
<label><%- title %></label>
<label><%= title %></label>
<button class="destroy"></button>
</div>
<input class="edit" type="text" value="<%- title %>" />
<input class="edit" type="text" value="<%= title %>" />
</script>
<script type="text/template" id="stats-template">
<span id="todo-count"><strong><%- remaining %></strong> <%= remaining == 1 ? 'item' : 'items' %> left</span>
<span id="todo-count"><strong><%= remaining %></strong> <%= remaining == 1 ? 'item' : 'items' %> left</span>
<ul id="filters">
<li>
<a class="selected" href="#/">All</a>
......@@ -50,7 +50,7 @@
</li>
</ul>
<% if (completed) { %>
<button id="clear-completed">Clear completed (<%- completed %>)</button>
<button id="clear-completed">Clear completed (<%= completed %>)</button>
<% } %>
</script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment