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

Unified Diff: example/todomvc/editable_label.html

Issue 12225039: Support for observable models, fixes #259 (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 years, 10 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 | « no previous file | example/todomvc/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/todomvc/editable_label.html
diff --git a/example/todomvc/editable_label.html b/example/todomvc/editable_label.html
index c127fe5145cc1cddd1a75daa328fc3ca7aa4ec1e..27e26ebe3173253e193846cab6c86af7981a17e0 100644
--- a/example/todomvc/editable_label.html
+++ b/example/todomvc/editable_label.html
@@ -45,7 +45,9 @@ BSD-style license that can be found in the LICENSE file.
void edit() {
editing = true;
- dispatch();
+
+ // This causes _editBox to be inserted.
+ deliverChangesSync();
// For IE and Firefox: use .focus(), then reset the value to move the
// cursor to the end.
« no previous file with comments | « no previous file | example/todomvc/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698