| OLD | NEW |
| 1 #import('dart:dom'); | 1 #import('dart:dom'); |
| 2 #import('dart:json'); | 2 #import('dart:json'); |
| 3 #import('Suites.dart'); | 3 #import('Suites.dart'); |
| 4 | 4 |
| 5 main() { | 5 main() { |
| 6 window.onload = (Event evt) { | 6 new Dromaeo().run(); |
| 7 new Dromaeo().run(); | |
| 8 }; | |
| 9 } | 7 } |
| 10 | 8 |
| 11 class SuiteController { | 9 class SuiteController { |
| 12 final SuiteDescription _suiteDescription; | 10 final SuiteDescription _suiteDescription; |
| 13 final HTMLIFrameElement _suiteIframe; | 11 final HTMLIFrameElement _suiteIframe; |
| 14 | 12 |
| 15 HTMLDivElement _element; | 13 HTMLDivElement _element; |
| 16 double _meanProduct; | 14 double _meanProduct; |
| 17 int _nTests; | 15 int _nTests; |
| 18 | 16 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 } | 197 } |
| 200 | 198 |
| 201 HTMLElement _byId(String id) { | 199 HTMLElement _byId(String id) { |
| 202 return document.getElementById(id); | 200 return document.getElementById(id); |
| 203 } | 201 } |
| 204 | 202 |
| 205 int get _suitesTotal() { | 203 int get _suitesTotal() { |
| 206 return _suiteControllers.length; | 204 return _suiteControllers.length; |
| 207 } | 205 } |
| 208 } | 206 } |
| OLD | NEW |