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

Unified Diff: client/samples/swarm/DataSource.dart

Issue 8680038: Revert initializing formals change in client code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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 | « client/observable/observable.dart ('k') | client/touch/Geometry.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/swarm/DataSource.dart
===================================================================
--- client/samples/swarm/DataSource.dart (revision 1822)
+++ client/samples/swarm/DataSource.dart (working copy)
@@ -140,9 +140,8 @@
ObservableList<Article> articles;
ObservableValue<bool> error; // TODO(jimhug): Check if dead code.
- Feed(this.id, this.title, this.iconUrl, [description = ''])
- : this.description = description,
- articles = new ObservableList<Article>(),
+ Feed(this.id, this.title, this.iconUrl, [this.description = ''])
+ : articles = new ObservableList<Article>(),
error = new ObservableValue<bool>(false);
static Feed decode(Decoder decoder) {
@@ -183,10 +182,8 @@
Article(this.dataSource, this.id, this.date, this.title, this.author,
this.srcUrl, this.hasThumbnail, this.textBody,
- [htmlBody = null, bool unread = true, error = false])
- : unread = new ObservableValue<bool>(unread),
- this._htmlBody = htmlBody,
- this.error = error;
+ [this._htmlBody = null, bool unread = true, this.error = false])
+ : unread = new ObservableValue<bool>(unread);
String get htmlBody() {
_ensureLoaded();
« no previous file with comments | « client/observable/observable.dart ('k') | client/touch/Geometry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698