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

Unified Diff: samples/logo/logo.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/isolate_html/isolate_sample.dart ('k') | samples/matrix/matrix_client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/logo/logo.dart
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart
index 9b822b4dc293b1ab2e980ff6f4750a47d3012eaf..82661dad97a789384996b4a8382be772604a4ca9 100644
--- a/samples/logo/logo.dart
+++ b/samples/logo/logo.dart
@@ -1,8 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#import('dart:html');
+#import('dart:math', prefix: 'Math');
class Color {
int hue;
« no previous file with comments | « samples/isolate_html/isolate_sample.dart ('k') | samples/matrix/matrix_client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698