OLD | NEW |
1 library dromaeo; | 1 library dromaeo; |
| 2 import 'dart:async'; |
2 import 'dart:html'; | 3 import 'dart:html'; |
3 import 'dart:json' as json; | 4 import 'dart:json' as json; |
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 void main() { | 9 void main() { |
9 final int num = 400; | 10 final int num = 400; |
10 var random = new Math.Random(); | 11 var random = new Math.Random(); |
11 | 12 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 .test('appendChild', () { | 62 .test('appendChild', () { |
62 for (int i = 0; i < elems.length; i++) | 63 for (int i = 0; i < elems.length; i++) |
63 document.body.$dom_appendChild(elems[i]); | 64 document.body.$dom_appendChild(elems[i]); |
64 }) | 65 }) |
65 .test('insertBefore', () { | 66 .test('insertBefore', () { |
66 for (int i = 0; i < elems.length; i++) | 67 for (int i = 0; i < elems.length; i++) |
67 document.body.insertBefore(elems[i], document.body.$dom_firstChild); | 68 document.body.insertBefore(elems[i], document.body.$dom_firstChild); |
68 }) | 69 }) |
69 .end(); | 70 .end(); |
70 } | 71 } |
OLD | NEW |