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

Unified Diff: samples/calculator/tape.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/calculator/calculator.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/calculator/tape.dart
diff --git a/samples/calculator/tape.dart b/samples/calculator/tape.dart
index f6c2ebdecbbc8d4627a84459c750d3a11dcced21..6910775ddc28c89f3954c7be5912a8f364fae2be 100644
--- a/samples/calculator/tape.dart
+++ b/samples/calculator/tape.dart
@@ -23,7 +23,7 @@ class Tape {
if (number != "." && number != "-" && number != "-.") {
try {
- numberAsValue = Math.parseDouble(number.length == 0 ? "0" : number);
+ numberAsValue = double.parse(number.length == 0 ? "0" : number);
} on FormatException catch (e) {
displayError(e.toString());
return;
« no previous file with comments | « samples/calculator/calculator.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698