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

Unified Diff: samples/calculator/tape.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/settings.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 93e5a1369c99b2f90a9d80056a51dd19d6ad91e8..cc4c6eb7bc3f1c9c22d740c5cc1286515e70e714 100644
--- a/samples/calculator/tape.dart
+++ b/samples/calculator/tape.dart
@@ -220,7 +220,7 @@ class Tape {
scrollToTapeBottom();
}
- bool get isClear() {
+ bool get isClear {
return tapeUI.tape.elements.last().classes.contains(TapeUI.clearCalc);
}
@@ -232,8 +232,8 @@ class Tape {
mySettings = new Settings(settingsUI, Settings.THEME_BUTTON);
}
- DivElement get activeInput() => window.document.query("#activeInput");
- DivElement get activeTotal() => window.document.query("#activeTotal");
+ DivElement get activeInput => window.document.query("#activeInput");
+ DivElement get activeTotal => window.document.query("#activeTotal");
void clear() {
final element = new Element.tag('div');
« no previous file with comments | « samples/calculator/settings.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698