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

Unified Diff: samples/tracker/web/elements/task_form_element.dart

Issue 341843003: Remove use of deprecated property in TodoMVC (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « samples/third_party/todomvc_performance/web/lib-elements/simple_router.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tracker/web/elements/task_form_element.dart
diff --git a/samples/tracker/web/elements/task_form_element.dart b/samples/tracker/web/elements/task_form_element.dart
index 52efd28cb85b95a7028a87441b5fb6adfaf3b34f..dfa89439a36222df6a3f017857685c77092570c7 100644
--- a/samples/tracker/web/elements/task_form_element.dart
+++ b/samples/tracker/web/elements/task_form_element.dart
@@ -25,8 +25,8 @@ class TaskFormElement extends PolymerElement {
TaskFormElement.created() : super.created();
- enteredView() {
- super.enteredView();
+ attached() {
+ super.attached();
submitLabel = task.saved ? 'Update' : 'Create';
statusSelectedIndex = taskStatusOptions.indexOf(task.status);
if (!task.saved) {
« no previous file with comments | « samples/third_party/todomvc_performance/web/lib-elements/simple_router.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698