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

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

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 import 'package:immi/dart/immi_service_impl.dart';
6
7 import 'package:github_sample/src/commit_list_presenter.dart';
8 import 'package:github_sample/src/commit_presenter.dart';
9 import 'package:github_sample/src/github_services.dart';
10
11 import 'package:immi_samples/drawer.dart';
12 import 'package:immi_samples/menu.dart';
13
14 main() {
15 var server = new Server('127.0.0.1', 8321);
16 var user = server.getUser('dartino');
17 var repo = user.getRepository('sdk');
18
19 var menu = new Menu('Menu');
20 var commits = new CommitListPresenter(repo);
21 var drawer = new Drawer(commits, left: menu);
22
23 menu.add(new MenuItem('Dartino', () { drawer.center = commits; }));
24
25 var impl = new ImmiServiceImpl();
26 impl.add('DrawerPresenter', drawer);
27
28 impl.run();
29 server.close();
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