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 // Should become auto-generated. | 5 // Should become auto-generated. |
6 | 6 |
7 library todomvc_presenter; | 7 library todomvc_presenter; |
8 | 8 |
9 import 'todomvc_service.dart'; | 9 import 'todomvc_service.dart'; |
10 import 'todomvc_presenter_model.dart'; | 10 import 'todomvc_presenter_model.dart'; |
11 | 11 |
(...skipping 29 matching lines...) Expand all Loading... |
41 | 41 |
42 void reset() { | 42 void reset() { |
43 _presentation = new Nil(); | 43 _presentation = new Nil(); |
44 _eventManager.clear(); | 44 _eventManager.clear(); |
45 } | 45 } |
46 | 46 |
47 void dispatch(int eventHandlerId) { | 47 void dispatch(int eventHandlerId) { |
48 _eventManager.call(eventHandlerId); | 48 _eventManager.call(eventHandlerId); |
49 } | 49 } |
50 } | 50 } |
OLD | NEW |