OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'github_services.dart'; | 5 import 'github_services.dart'; |
6 | 6 |
7 import 'package:immi/dart/immi.dart'; | 7 import 'package:immi/dart/immi.dart'; |
8 import 'package:immi/dart/image.dart'; | 8 import 'package:immi/dart/image.dart'; |
9 | 9 |
10 import 'package:immi_samples/sequenced_presenter.dart'; | 10 import 'package:immi_samples/sequenced_presenter.dart'; |
11 | 11 |
(...skipping 23 matching lines...) Expand all Loading... |
35 ? "" | 35 ? "" |
36 : json['author']['avatar_url']; | 36 : json['author']['avatar_url']; |
37 | 37 |
38 return new CommitNode( | 38 return new CommitNode( |
39 author: json['commit']['author']['name'], | 39 author: json['commit']['author']['name'], |
40 message: json['commit']['message'], | 40 message: json['commit']['message'], |
41 selected: selectedIndices.contains(index), | 41 selected: selectedIndices.contains(index), |
42 image: new ImageNode(url: imageUrl)); | 42 image: new ImageNode(url: imageUrl)); |
43 } | 43 } |
44 } | 44 } |
OLD | NEW |