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

Unified Diff: samples/calculator/calculator.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: 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
Index: samples/calculator/calculator.dart
diff --git a/samples/calculator/calculator.dart b/samples/calculator/calculator.dart
index bc83e2ff427f5aab9c89a99a31e32474714d1887..2585f9a331b6c5966582b2042837908fb9dbba55 100644
--- a/samples/calculator/calculator.dart
+++ b/samples/calculator/calculator.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
#import('dart:html');
+#import('dart:math', prefix: 'Math');
#source('tape.dart');
#source('settings.dart');
#source('calcui.dart');

Powered by Google App Engine
This is Rietveld 408576698