Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Side by Side Diff: samples/third_party/dromaeo/tests/dom-modify.dart

Issue 9374026: Move dromaeo to third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved Dromaeo to third party. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #library("dom-modify.dart"); 1 #library("dom-modify.dart");
2 #import("dart:dom"); 2 #import("dart:dom");
3 #import('runner.dart'); 3 #import('runner.dart');
4 4
5 void main() { 5 void main() {
6 final int num = 400; 6 final int num = 400;
7 7
8 String str = 'null'; 8 String str = 'null';
9 // Very ugly way to build up the string, but let's mimic JS version as much as possible. 9 // Very ugly way to build up the string, but let's mimic JS version as much as possible.
10 for (int i = 0; i < 1024; i++) { 10 for (int i = 0; i < 1024; i++) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 .test('appendChild', () { 57 .test('appendChild', () {
58 for (int i = 0; i < elems.length; i++) 58 for (int i = 0; i < elems.length; i++)
59 document.body.appendChild(elems[i]); 59 document.body.appendChild(elems[i]);
60 }) 60 })
61 .test('insertBefore', () { 61 .test('insertBefore', () {
62 for (int i = 0; i < elems.length; i++) 62 for (int i = 0; i < elems.length; i++)
63 document.body.insertBefore(elems[i], document.body.firstChild); 63 document.body.insertBefore(elems[i], document.body.firstChild);
64 }) 64 })
65 .end(); 65 .end();
66 } 66 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-attr-dartc.html ('k') | samples/third_party/dromaeo/tests/dom-modify.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698