Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: example/todomvc/web/app.html

Issue 22962005: Merge pull request #581 from kevmoo/polymer (Closed) Base URL: https://github.com/dart-lang/web-ui.git@polymer
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « example/todomvc/test/todomvc_markdone_test.html ('k') | example/todomvc/web/editable_label.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/todomvc/web/app.html
diff --git a/example/todomvc/web/app.html b/example/todomvc/web/app.html
index 2a492f91fa9f634fe62ba92eab5a2ba2b02547a5..e59408b3c8a3771994c0aa37046bad0e645663ae 100644
--- a/example/todomvc/web/app.html
+++ b/example/todomvc/web/app.html
@@ -30,14 +30,14 @@ BSD-style license that can be found in the LICENSE file.
</template>
</ul>
</section>
- <template bind if="{{app.hasTodos}}">
+ <template bind if="{{app.todos.length > 0}}">
<footer id="footer">
<span id="todo-count"><strong>{{app.remaining}}</strong></span>
- <router-options id="filters">
+ <ul is="router-options" id="filters">
<li> <a href="#/">All</a> </li>
<li> <a href="#/active">Active</a> </li>
<li> <a href="#/completed">Completed</a> </li>
- </router-options>
+ </ul>
<template bind if="{{app.hasCompleteTodos}}">
<button id="clear-completed" on-click="clear">
Clear completed ({{app.doneCount}})
« no previous file with comments | « example/todomvc/test/todomvc_markdone_test.html ('k') | example/todomvc/web/editable_label.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698