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

Unified Diff: samples/sunflower/sunflower.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/spirodraw/Spirodraw.dart ('k') | samples/swarm/swarmlib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/sunflower/sunflower.dart
diff --git a/samples/sunflower/sunflower.dart b/samples/sunflower/sunflower.dart
index 0f7f6573c174f8b5d8fb414245417857dd1a4b71..973571061f3799ae50189163548c314f9b1428d5 100644
--- a/samples/sunflower/sunflower.dart
+++ b/samples/sunflower/sunflower.dart
@@ -5,6 +5,7 @@
#library('sunflower');
#import('dart:html');
+#import('dart:math', prefix: 'Math');
final SEED_RADIUS = 2;
final SCALE_FACTOR = 4;
« no previous file with comments | « samples/spirodraw/Spirodraw.dart ('k') | samples/swarm/swarmlib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698