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

Unified Diff: samples/calculator/settings.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/calcui.dart ('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/settings.dart
diff --git a/samples/calculator/settings.dart b/samples/calculator/settings.dart
index 0d8198791f016d76a09970d7bef02c961a2394eb..4e5238b7c341c19d725e57e26b9fb8856540f649 100644
--- a/samples/calculator/settings.dart
+++ b/samples/calculator/settings.dart
@@ -49,7 +49,7 @@ class Settings {
"transparent" : "#333";
}
- bool get isOpen() => _dialogOpened;
+ bool get isOpen => _dialogOpened;
/*
* Optional MouseEvent if passed if the source of event is from outside of
@@ -71,7 +71,7 @@ class Settings {
}
}
- bool get isSimple() => theme == THEME_SIMPLE;
- bool get isButton() => theme == THEME_BUTTON;
+ bool get isSimple => theme == THEME_SIMPLE;
+ bool get isButton => theme == THEME_BUTTON;
}
« no previous file with comments | « samples/calculator/calcui.dart ('k') | samples/calculator/tape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698