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

Unified Diff: pkg/polymer/test/build/all_phases_test.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
« no previous file with comments | « pkg/polymer/lib/src/instance.dart ('k') | pkg/polymer_expressions/example/person.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/all_phases_test.dart
diff --git a/pkg/polymer/test/build/all_phases_test.dart b/pkg/polymer/test/build/all_phases_test.dart
index 76c8757af9dc8137c1776bfd85a8614d6bf383ec..047dca42c78f5f6f0ae005df0446770d815a744d 100644
--- a/pkg/polymer/test/build/all_phases_test.dart
+++ b/pkg/polymer/test/build/all_phases_test.dart
@@ -181,7 +181,7 @@ String _sampleObservable(String className, String fieldName) => '''
library ${className}_$fieldName;
import 'package:observe/observe.dart';
-class $className extends ObservableBase {
+class $className extends Observable {
@observable int $fieldName;
$className(this.$fieldName);
}
@@ -190,7 +190,7 @@ class $className extends ObservableBase {
String _sampleObservableOutput(String className, String field) =>
"library ${className}_$field;\n"
"import 'package:observe/observe.dart';\n\n"
- "class $className extends ChangeNotifierBase {\n"
+ "class $className extends ChangeNotifier {\n"
" @reflectable @observable int get $field => __\$$field; "
"int __\$$field; "
"@reflectable set $field(int value) { "
« no previous file with comments | « pkg/polymer/lib/src/instance.dart ('k') | pkg/polymer_expressions/example/person.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698