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

Side by Side Diff: samples/leap/leap_script.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/leap/leap_leg.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class LeapScript { 1 class LeapScript {
2 final text; 2 final text;
3 LeapScript(this.text); 3 LeapScript(this.text);
4 4
5 String get name() => "SomeName"; 5 String get name => "SomeName";
6 String get uri() => name; 6 String get uri => name;
7 String get file() => "somefile"; 7 String get file => "somefile";
8 } 8 }
OLDNEW
« no previous file with comments | « samples/leap/leap_leg.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698