Commit a36303dc authored by Everett Sochowski's avatar Everett Sochowski

Fixed escaped control structures

parent ce405e71
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<script type="text/template" id="item-template"> <script type="text/template" id="item-template">
<div class="view"> <div class="view">
<input class="toggle" type="checkbox" <%- done ? 'checked="checked"' : '' %> /> <input class="toggle" type="checkbox" <%= done ? 'checked="checked"' : '' %> />
<label><%- title %></label> <label><%- title %></label>
<button class="destroy"></button> <button class="destroy"></button>
</div> </div>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<script type="text/template" id="stats-template"> <script type="text/template" id="stats-template">
<footer id="footer"> <footer id="footer">
<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"> <ul id="filters">
<li> <li>
<a class="selected" href="#/">All</a> <a class="selected" href="#/">All</a>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</li> </li>
</ul> </ul>
<% if (done) { %> <% if (done) { %>
<button id="clear-completed">Clear <%- done %> completed <%- done == 1 ? 'item' : 'items' %></button> <button id="clear-completed">Clear <%- done %> completed <%= done == 1 ? 'item' : 'items' %></button>
<% } %> <% } %>
</footer> </footer>
</script> </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