| 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 fletch.*; | 5 import fletch.*; |
| 6 | 6 |
| 7 class TodoController { | 7 class TodoController { |
| 8 static void InteractWithService() { | 8 static void InteractWithService() { |
| 9 TodoService.Setup(); | 9 TodoService.Setup(); |
| 10 | 10 |
| 11 TodoView view = new TodoView(); | 11 TodoView view = new TodoView(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 break; | 45 break; |
| 46 default: | 46 default: |
| 47 view.showMenu(); | 47 view.showMenu(); |
| 48 break; | 48 break; |
| 49 } | 49 } |
| 50 } while (!should_terminate); | 50 } while (!should_terminate); |
| 51 | 51 |
| 52 TodoService.TearDown(); | 52 TodoService.TearDown(); |
| 53 } | 53 } |
| 54 } | 54 } |
| OLD | NEW |