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

Unified Diff: samples/calculator/tape.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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/markdown/block_parser.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 cc4c6eb7bc3f1c9c22d740c5cc1286515e70e714..b2ab85a2c3035ce619290375ddc48d00ce33533a 100644
--- a/samples/calculator/tape.dart
+++ b/samples/calculator/tape.dart
@@ -221,7 +221,7 @@ class Tape {
}
bool get isClear {
- return tapeUI.tape.elements.last().classes.contains(TapeUI.clearCalc);
+ return tapeUI.tape.elements.last.classes.contains(TapeUI.clearCalc);
}
void clearTape() {
« no previous file with comments | « samples/calculator/calculator.dart ('k') | samples/markdown/block_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698