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 library observe.src.observable_map; | 5 library observe.src.observable_map; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'package:observe/observe.dart'; | 8 import 'package:observe/observe.dart'; |
9 | 9 |
10 | 10 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // But this should fix "keys" and "values" in templates with minimal overhead. | 171 // But this should fix "keys" and "values" in templates with minimal overhead. |
172 void _notifyKeysValuesChanged() { | 172 void _notifyKeysValuesChanged() { |
173 notifyChange(new PropertyChangeRecord(this, #keys, null, null)); | 173 notifyChange(new PropertyChangeRecord(this, #keys, null, null)); |
174 _notifyValuesChanged(); | 174 _notifyValuesChanged(); |
175 } | 175 } |
176 | 176 |
177 void _notifyValuesChanged() { | 177 void _notifyValuesChanged() { |
178 notifyChange(new PropertyChangeRecord(this, #values, null, null)); | 178 notifyChange(new PropertyChangeRecord(this, #values, null, null)); |
179 } | 179 } |
180 } | 180 } |
OLD | NEW |