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

Side by Side Diff: samples/github/bin/github.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « samples/github/android/compile_mock.sh ('k') | samples/github/bin/github_mock_service.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 // 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:immi/dart/immi_service_impl.dart'; 5 import 'package:immi/dart/immi_service_impl.dart';
6 6
7 import 'package:github_sample/src/commit_list_presenter.dart'; 7 import 'package:github_sample/src/commit_list_presenter.dart';
8 import 'package:github_sample/src/commit_presenter.dart'; 8 import 'package:github_sample/src/commit_presenter.dart';
9 import 'package:github_sample/src/github_services.dart'; 9 import 'package:github_sample/src/github_services.dart';
10 10
11 import 'package:immi_samples/drawer.dart'; 11 import 'package:immi_samples/drawer.dart';
12 import 'package:immi_samples/menu.dart'; 12 import 'package:immi_samples/menu.dart';
13 13
14 main() { 14 main() {
15 var server = new Server('127.0.0.1', 8321); 15 var server = new Server('127.0.0.1', 8321);
16 var user = server.getUser('dart-lang'); 16 var user = server.getUser('dart-lang');
17 var repo = user.getRepository('fletch'); 17 var repo = user.getRepository('fletch');
18 18
19 var menu = new Menu('Menu'); 19 var menu = new Menu('Menu');
20 var commits = new CommitListPresenter(repo); 20 var commits = new CommitListPresenter(repo);
21 var drawer = new Drawer(commits, left: menu); 21 var drawer = new Drawer(commits, left: menu);
22 22
23 menu.add(new MenuItem('Fletch', () { drawer.center = commits; })); 23 menu.add(new MenuItem('Fletch', () { drawer.center = commits; }));
24 24
25 var impl = new ImmiServiceImpl(); 25 var impl = new ImmiServiceImpl();
26 impl.add('DrawerPresenter', drawer); 26 impl.add('DrawerPresenter', drawer);
27 27
28 impl.run(); 28 impl.run();
29 server.close(); 29 server.close();
30 } 30 }
OLDNEW
« no previous file with comments | « samples/github/android/compile_mock.sh ('k') | samples/github/bin/github_mock_service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698