| Index: pkg/observe/lib/observe.dart
|
| diff --git a/pkg/observe/lib/observe.dart b/pkg/observe/lib/observe.dart
|
| index 29d868e25b98542a275f8d863201bfa849a3d67f..abce718a95062e29d1ee9b913785482828941b05 100644
|
| --- a/pkg/observe/lib/observe.dart
|
| +++ b/pkg/observe/lib/observe.dart
|
| @@ -13,7 +13,7 @@
|
| * You can provide an observable object in two ways. The simplest way is to
|
| * use dirty checking to discover changes automatically:
|
| *
|
| - * class Monster extends Unit with ObservableMixin {
|
| + * class Monster extends Unit with Observable {
|
| * @observable int health = 100;
|
| *
|
| * void damage(int amount) {
|
| @@ -41,7 +41,7 @@
|
| * manually. This avoids the potentially expensive [Observable.dirtyCheck]
|
| * operation, but requires more work in the object:
|
| *
|
| - * class Monster extends Unit with ChangeNotifierMixin {
|
| + * class Monster extends Unit with ChangeNotifier {
|
| * int _health = 100;
|
| * @reflectable get health => _health;
|
| * @reflectable set health(val) {
|
| @@ -88,6 +88,8 @@ import 'dart:collection';
|
| override: 'observe')
|
| import 'dart:mirrors';
|
|
|
| +import 'package:meta/meta.dart';
|
| +
|
| // Note: this is an internal library so we can import it from tests.
|
| // TODO(jmesserly): ideally we could import this with a prefix, but it caused
|
| // strange problems on the VM when I tested out the dirty-checking example
|
|
|