| 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();
|
|
|