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

Side by Side Diff: samples/third_party/dromaeo/tests/dom-attr-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 'dart:math' as Math; 5 import 'dart:math' as Math;
6 part 'Common.dart'; 6 part 'Common.dart';
7 part 'RunnerSuite.dart'; 7 part 'RunnerSuite.dart';
8 8
9 void main() { 9 void main() {
10 final int num = 10240; 10 final int num = 10240;
11 11
12 // Try to force real results. 12 // Try to force real results.
13 var ret; 13 var ret;
14 14
(...skipping 12 matching lines...) Expand all
27 .test('setAttribute', () { 27 .test('setAttribute', () {
28 for (int i = 0; i < num; i++) 28 for (int i = 0; i < num; i++)
29 a.$dom_setAttribute('id', 'foo'); 29 a.$dom_setAttribute('id', 'foo');
30 }) 30 })
31 .test('element.property = value', () { 31 .test('element.property = value', () {
32 for (int i = 0; i < num; i++) 32 for (int i = 0; i < num; i++)
33 a.id = 'foo'; 33 a.id = 'foo';
34 }) 34 })
35 .end(); 35 .end();
36 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698