Index: samples/github/bin/github.dart |
diff --git a/samples/github/bin/github.dart b/samples/github/bin/github.dart |
deleted file mode 100644 |
index 47f2d79aa410bac247aa2b811a6482fdb4fb97c7..0000000000000000000000000000000000000000 |
--- a/samples/github/bin/github.dart |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE.md file. |
- |
-import 'package:immi/dart/immi_service_impl.dart'; |
- |
-import 'package:github_sample/src/commit_list_presenter.dart'; |
-import 'package:github_sample/src/commit_presenter.dart'; |
-import 'package:github_sample/src/github_services.dart'; |
- |
-import 'package:immi_samples/drawer.dart'; |
-import 'package:immi_samples/menu.dart'; |
- |
-main() { |
- var server = new Server('127.0.0.1', 8321); |
- var user = server.getUser('dartino'); |
- var repo = user.getRepository('sdk'); |
- |
- var menu = new Menu('Menu'); |
- var commits = new CommitListPresenter(repo); |
- var drawer = new Drawer(commits, left: menu); |
- |
- menu.add(new MenuItem('Dartino', () { drawer.center = commits; })); |
- |
- var impl = new ImmiServiceImpl(); |
- impl.add('DrawerPresenter', drawer); |
- |
- impl.run(); |
- server.close(); |
-} |