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

Unified Diff: samples/survey/lib/models.dart

Issue 27618002: package:observe fix various api issues (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/survey/lib/models.dart
diff --git a/samples/survey/lib/models.dart b/samples/survey/lib/models.dart
index 2f0f90e22d3c96378d1988a73ff7cf294f501e1c..f0017171e67b1ec4a1c859afe3226a058ed3d0f8 100644
--- a/samples/survey/lib/models.dart
+++ b/samples/survey/lib/models.dart
@@ -11,7 +11,7 @@ final appModel = new SurveyApp();
/*
* The model for the SurveyApp.
*/
-class SurveyApp extends ObservableBase {
+class SurveyApp extends Observable {
@observable String title = '';
@observable String description = '';
@observable List<Question> questions;
@@ -23,7 +23,7 @@ class SurveyApp extends ObservableBase {
* Model for a survey question. [answerOptions] is the list of options from
* which the user picks one or more [answers].
*/
-class Question extends ObservableBase {
+class Question extends Observable {
@observable String text;
@observable String helpText;
@observable List<String> answerOptions = [];
« no previous file with comments | « pkg/polymer_expressions/test/syntax_test.dart ('k') | samples/survey/web/elements/question/question_element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698