| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'dart/conformance_service.dart'; | 5 import 'dart/conformance_service.dart'; |
| 6 | 6 |
| 7 class ConformanceServiceImpl implements ConformanceService { | 7 class ConformanceServiceImpl implements ConformanceService { |
| 8 int getAge(Person person) { | 8 int getAge(Person person) { |
| 9 return person.age; | 9 return person.age; |
| 10 } | 10 } |
| 11 | 11 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 } | 113 } |
| 114 | 114 |
| 115 main() { | 115 main() { |
| 116 var impl = new ConformanceServiceImpl(); | 116 var impl = new ConformanceServiceImpl(); |
| 117 ConformanceService.initialize(impl); | 117 ConformanceService.initialize(impl); |
| 118 while (ConformanceService.hasNextEvent()) { | 118 while (ConformanceService.hasNextEvent()) { |
| 119 ConformanceService.handleNextEvent(); | 119 ConformanceService.handleNextEvent(); |
| 120 } | 120 } |
| 121 } | 121 } |
| OLD | NEW |