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

Unified Diff: samples/calculator/calculator.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 | « runtime/vm/vm.gypi ('k') | samples/calculator/tape.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/calculator/calculator.dart
diff --git a/samples/calculator/calculator.dart b/samples/calculator/calculator.dart
index 397561686f74315e7de45adc7c530b8dd142c524..715a7f9b4f109655382287ffcdeb5106b2a25cb4 100644
--- a/samples/calculator/calculator.dart
+++ b/samples/calculator/calculator.dart
@@ -256,7 +256,6 @@ void processNumber(int code, Element key) {
// TODO(terry): Need to fix this in Dart library.
// If there's already a . in our current register don't allow a second period.
- // Math.parseDouble validates that 2.2.3.4.5 is okay and returns 2.2
if (char == '.' && currentRegister.indexOf('.') != -1) {
// Signal dot is valid more than once for a number.
flickerKey(padUI.keyDot, '-error');
« no previous file with comments | « runtime/vm/vm.gypi ('k') | samples/calculator/tape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698