| OLD | NEW |
| 1 Sky Event Model | 1 Sky Event Model |
| 2 =============== | 2 =============== |
| 3 | 3 |
| 4 ```dart | 4 ```dart |
| 5 SKY MODULE | 5 SKY MODULE |
| 6 <!-- part of sky:core --> | 6 <!-- part of dart:sky --> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 import 'dart:collection'; | 9 import 'dart:collection'; |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| 11 | 11 |
| 12 class ExceptionAndStackTrace<T> { | 12 class ExceptionAndStackTrace<T> { |
| 13 const ExceptionAndStackTrace(this.exception, this.stackTrace); | 13 const ExceptionAndStackTrace(this.exception, this.stackTrace); |
| 14 final T exception; | 14 final T exception; |
| 15 final StackTrace stackTrace; | 15 final StackTrace stackTrace; |
| 16 } | 16 } |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 return event.result; | 179 return event.result; |
| 180 } | 180 } |
| 181 | 181 |
| 182 void _dispatchEventLocally(Event event) { | 182 void _dispatchEventLocally(Event event) { |
| 183 event._currentTarget = this; | 183 event._currentTarget = this; |
| 184 _eventsController.add(event); | 184 _eventsController.add(event); |
| 185 } | 185 } |
| 186 } | 186 } |
| 187 </script> | 187 </script> |
| 188 ``` | 188 ``` |
| OLD | NEW |