| 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 bindings_test; | 5 library bindings_test; |
| 6 | 6 |
| 7 import 'dart:async'; | |
| 8 import 'dart:html'; | 7 import 'dart:html'; |
| 9 import 'package:mdv/mdv.dart' as mdv; | 8 import 'package:mdv/mdv.dart' as mdv; |
| 10 import 'package:observe/observe.dart'; | 9 import 'package:observe/observe.dart'; |
| 11 import 'package:observe/src/microtask.dart'; | 10 import 'package:observe/src/microtask.dart'; |
| 12 import 'package:polymer_expressions/polymer_expressions.dart'; | 11 import 'package:polymer_expressions/polymer_expressions.dart'; |
| 13 import 'package:unittest/html_config.dart'; | 12 import 'package:unittest/html_config.dart'; |
| 14 import 'package:unittest/unittest.dart'; | 13 import 'package:unittest/unittest.dart'; |
| 15 | 14 |
| 16 main() { | 15 main() { |
| 17 mdv.initialize(); | 16 mdv.initialize(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 74 |
| 76 class NotifyModel extends ChangeNotifierBase { | 75 class NotifyModel extends ChangeNotifierBase { |
| 77 var _x; | 76 var _x; |
| 78 NotifyModel([this._x]); | 77 NotifyModel([this._x]); |
| 79 | 78 |
| 80 get x => _x; | 79 get x => _x; |
| 81 set x(value) { | 80 set x(value) { |
| 82 _x = notifyPropertyChange(const Symbol('x'), _x, value); | 81 _x = notifyPropertyChange(const Symbol('x'), _x, value); |
| 83 } | 82 } |
| 84 } | 83 } |
| OLD | NEW |