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

Unified Diff: samples/logo/logo.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/leap/leap_script.dart ('k') | samples/maps/js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/logo/logo.dart
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart
index 82661dad97a789384996b4a8382be772604a4ca9..9df9c839bb1433ac770a7e9009e934f0ffe5ec0a 100644
--- a/samples/logo/logo.dart
+++ b/samples/logo/logo.dart
@@ -70,7 +70,7 @@ class Color {
return number;
}
- String get hex() {
+ String get hex {
final h = (hue % 360) / 360;
final s = saturation;
final l = lightness;
« no previous file with comments | « samples/leap/leap_script.dart ('k') | samples/maps/js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698