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

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

Issue 66253002: Version 0.8.10.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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: dart/samples/third_party/todomvc/web/app.dart
===================================================================
--- dart/samples/third_party/todomvc/web/app.dart (revision 30098)
+++ dart/samples/third_party/todomvc/web/app.dart (working copy)
@@ -21,7 +21,7 @@
void addTodo(Event e) {
e.preventDefault(); // don't submit the form
- InputElement input = getShadowRoot('todo-app').query('#new-todo');
+ InputElement input = getShadowRoot('todo-app').querySelector('#new-todo');
if (input.value == '') return;
app.todos.add(new Todo(input.value));
input.value = '';
« no previous file with comments | « dart/samples/third_party/todomvc/test/markdone_test.dart ('k') | dart/samples/third_party/todomvc/web/editable_label.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698