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 'todomvc_impl.dart'; | 5 import 'todomvc_impl.dart'; |
6 import 'dart/todomvc_service.dart'; | 6 import 'dart/todomvc_service.dart'; |
7 | 7 |
8 main() { | 8 main() { |
9 var impl = new TodoMVCImpl(); | 9 var impl = new TodoMVCImpl(); |
10 TodoMVCService.initialize(impl); | 10 TodoMVCService.initialize(impl); |
11 while (TodoMVCService.hasNextEvent()) { | 11 while (TodoMVCService.hasNextEvent()) { |
12 TodoMVCService.handleNextEvent(); | 12 TodoMVCService.handleNextEvent(); |
13 } | 13 } |
14 } | 14 } |
OLD | NEW |