OLD | NEW |
1 <sky> | 1 <sky> |
2 <import src="../resources/run-after-display.sky" as="runAfterDisplay" /> | 2 <import src="../resources/run-after-display.sky"/> |
3 | 3 |
4 <img src="http://storage.googleapis.com/mojo/sky-pngs/5eb363566d6dbf6a3afdd9a0
edd9f90a95f41582" /> | 4 <img src="http://storage.googleapis.com/mojo/sky-pngs/5eb363566d6dbf6a3afdd9a0
edd9f90a95f41582" /> |
5 | 5 |
6 <script> | 6 <script> |
7 window.addEventListener('load', function() { | 7 import "dart:sky"; |
8 runAfterDisplay(function() { | 8 import "dart:sky.internals" as internals; |
| 9 |
| 10 void main() { |
| 11 window.addEventListener("load", (_) { |
| 12 runAfterDisplay(() { |
9 internals.notifyTestComplete(""); | 13 internals.notifyTestComplete(""); |
10 }); | 14 }); |
11 }); | 15 }); |
| 16 } |
12 </script> | 17 </script> |
13 </sky> | 18 </sky> |
OLD | NEW |