OLD | NEW |
1 <script> | 1 <script> |
2 import "dart:sky" as sky; | 2 import "dart:sky" as sky; |
3 import "dart:sky.internals" as internals; | 3 import "dart:sky.internals" as internals; |
4 | 4 |
5 void handleLoadEvent(event) { | 5 void handleLoadEvent(event) { |
6 internals.notifyTestComplete(internals.contentAsText()); | 6 internals.notifyTestComplete(internals.contentAsText()); |
7 } | 7 } |
8 | 8 |
9 void init() { | 9 void _init(_) { |
10 sky.window.addEventListener('load', handleLoadEvent); | 10 sky.window.addEventListener('load', handleLoadEvent); |
11 } | 11 } |
12 </script> | 12 </script> |
OLD | NEW |