OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * Support for observing changes in model-view architectures. | 6 * Support for observing changes in model-view architectures. |
7 * | 7 * |
8 * **Warning:** This library is experimental, and APIs are subject to change. | 8 * **Warning:** This library is experimental, and APIs are subject to change. |
9 * | 9 * |
10 * This library is used to observe changes to [Observable] types. It also | 10 * This library is used to observe changes to [Observable] types. It also |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 * | 69 * |
70 * *Note*: it is good practice to keep `@reflectable` annotation on | 70 * *Note*: it is good practice to keep `@reflectable` annotation on |
71 * getters/setters so they are accessible via reflection. This will preserve | 71 * getters/setters so they are accessible via reflection. This will preserve |
72 * them from tree-shaking. You can also put this annotation on the class and it | 72 * them from tree-shaking. You can also put this annotation on the class and it |
73 * preserve all of its members for reflection. | 73 * preserve all of its members for reflection. |
74 * | 74 * |
75 * [Tools](https://www.dartlang.org/polymer-dart/) exist to convert the first | 75 * [Tools](https://www.dartlang.org/polymer-dart/) exist to convert the first |
76 * form into the second form automatically, to get the best of both worlds. | 76 * form into the second form automatically, to get the best of both worlds. |
77 */ | 77 */ |
78 library observe; | 78 library observe; |
| 79 import 'src/bind_property.dart'; |
| 80 import 'src/change_notifier.dart'; |
| 81 import 'src/change_record.dart'; |
| 82 import 'src/compound_path_observer.dart'; |
| 83 import 'src/list_path_observer.dart'; |
| 84 import 'src/list_diff.dart'; |
| 85 import 'src/metadata.dart'; |
| 86 import 'src/observable.dart'; |
| 87 import 'src/observable_box.dart'; |
| 88 import 'src/observable_list.dart'; |
| 89 import 'src/observable_map.dart'; |
| 90 import 'src/path_observer.dart'; |
| 91 import 'src/to_observable.dart'; |
| 92 |
79 | 93 |
80 export 'src/bind_property.dart'; | 94 export 'src/bind_property.dart'; |
81 export 'src/change_notifier.dart'; | 95 export 'src/change_notifier.dart'; |
82 export 'src/change_record.dart'; | 96 export 'src/change_record.dart'; |
83 export 'src/compound_path_observer.dart'; | 97 export 'src/compound_path_observer.dart'; |
84 export 'src/list_path_observer.dart'; | 98 export 'src/list_path_observer.dart'; |
85 export 'src/list_diff.dart' show ListChangeRecord; | 99 export 'src/list_diff.dart' show ListChangeRecord; |
86 export 'src/metadata.dart'; | 100 export 'src/metadata.dart'; |
87 export 'src/observable.dart' hide notifyPropertyChangeHelper, objectType; | 101 export 'src/observable.dart' hide notifyPropertyChangeHelper, objectType; |
88 export 'src/observable_box.dart'; | 102 export 'src/observable_box.dart'; |
89 export 'src/observable_list.dart'; | 103 export 'src/observable_list.dart'; |
90 export 'src/observable_map.dart'; | 104 export 'src/observable_map.dart'; |
91 export 'src/path_observer.dart'; | 105 export 'src/path_observer.dart'; |
92 export 'src/to_observable.dart'; | 106 export 'src/to_observable.dart'; |
OLD | NEW |