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

Unified Diff: samples/third_party/todomvc/web/app.html

Issue 45753003: Update samples with latest polymer and Dartium changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: samples/third_party/todomvc/web/app.html
diff --git a/samples/third_party/todomvc/web/app.html b/samples/third_party/todomvc/web/app.html
index dfb93c3186987960aee4f6f83569fd4cf68b1708..3835c931b99f183cf919ce9236e2b3a138681c62 100644
--- a/samples/third_party/todomvc/web/app.html
+++ b/samples/third_party/todomvc/web/app.html
@@ -10,9 +10,9 @@ BSD-style license that can be found in the LICENSE file.
<section id="todoapp">
<header id="header">
<h1 class='title'>todos</h1>
- <form on-submit="addTodo">
+ <form on-submit="{{addTodo}}">
<input id="new-todo" placeholder="What needs to be done?" autofocus
- on-change="addTodo">
+ on-change="{{addTodo}}">
</form>
</header>
<section id="main">
@@ -33,7 +33,7 @@ BSD-style license that can be found in the LICENSE file.
<li> <a href="#/completed">Completed</a> </li>
</ul>
<template if="{{app.hasCompleteTodos}}">
- <button id="clear-completed" on-click="clear">
+ <button id="clear-completed" on-click="{{clear}}">
Clear completed ({{app.doneCount}})
</button>
</template>
« no previous file with comments | « pkg/polymer/example/component/news/web/index.html ('k') | samples/third_party/todomvc/web/editable_label.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698