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

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

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 3 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 dromaeo; 1 library dromaeo;
2 import 'dart:async'; 2 import 'dart:async';
3 import 'dart:html'; 3 import 'dart:html';
4 import 'dart:json' as json; 4 import "dart:convert";
5 import '../common/common.dart'; 5 import '../common/common.dart';
6 import 'dart:math' as Math; 6 import 'dart:math' as Math;
7 part 'Common.dart'; 7 part 'Common.dart';
8 part 'RunnerSuite.dart'; 8 part 'RunnerSuite.dart';
9 9
10 10
11 void main() { 11 void main() {
12 final int num = 40; 12 final int num = 40;
13 13
14 // Try to force real results. 14 // Try to force real results.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 .test('childNodes', () { 82 .test('childNodes', () {
83 for (int i = 0; i < num; i++) { 83 for (int i = 0; i < num; i++) {
84 final nodes = document.body.$dom_childNodes; 84 final nodes = document.body.$dom_childNodes;
85 for (int j = 0; j < nodes.length; j++) { 85 for (int j = 0; j < nodes.length; j++) {
86 ret = nodes[j]; 86 ret = nodes[j];
87 } 87 }
88 } 88 }
89 }) 89 })
90 .end(); 90 .end();
91 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698