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

Side by Side Diff: samples/solar3d/web/solar.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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * A solar system visualization. 6 * A solar system visualization.
7 */ 7 */
8 8
9 library solar3d; 9 library solar3d;
10 10
11 import 'dart:async'; 11 import 'dart:async';
12 import 'dart:html'; 12 import 'dart:html';
13 import 'dart:json' as json; 13 import "dart:convert";
14 import 'dart:math' as Math; 14 import 'dart:math' as Math;
15 15
16 import 'package:vector_math/vector_math.dart'; 16 import 'package:vector_math/vector_math.dart';
17 17
18 part 'sphere_model_data.dart'; 18 part 'sphere_model_data.dart';
19 part 'sphere_model.dart'; 19 part 'sphere_model.dart';
20 part 'shader.dart'; 20 part 'shader.dart';
21 part 'planet_shader.dart'; 21 part 'planet_shader.dart';
22 part 'texture_manager.dart'; 22 part 'texture_manager.dart';
23 part 'grid.dart'; 23 part 'grid.dart';
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 print(log); 526 print(log);
527 } 527 }
528 } 528 }
529 529
530 /** 530 /**
531 * The entry point to the application. 531 * The entry point to the application.
532 */ 532 */
533 void main() { 533 void main() {
534 application.startup('#container'); 534 application.startup('#container');
535 } 535 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698