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