OLD | NEW |
1 library dromaeo; | 1 library dromaeo; |
2 import 'dart:html'; | 2 import 'dart:html'; |
| 3 import 'dart:json' as json; |
3 import '../common/common.dart'; | 4 import '../common/common.dart'; |
4 import 'dart:math' as Math; | 5 import 'dart:math' as Math; |
5 part 'Common.dart'; | 6 part 'Common.dart'; |
6 part 'RunnerSuite.dart'; | 7 part 'RunnerSuite.dart'; |
7 | 8 |
8 | 9 |
9 void main() { | 10 void main() { |
10 final int num = 40; | 11 final int num = 40; |
11 | 12 |
12 // Try to force real results. | 13 // Try to force real results. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 .test('childNodes', () { | 81 .test('childNodes', () { |
81 for (int i = 0; i < num; i++) { | 82 for (int i = 0; i < num; i++) { |
82 final nodes = document.body.$dom_childNodes; | 83 final nodes = document.body.$dom_childNodes; |
83 for (int j = 0; j < nodes.length; j++) { | 84 for (int j = 0; j < nodes.length; j++) { |
84 ret = nodes[j]; | 85 ret = nodes[j]; |
85 } | 86 } |
86 } | 87 } |
87 }) | 88 }) |
88 .end(); | 89 .end(); |
89 } | 90 } |
OLD | NEW |