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

Unified Diff: pkg/immi_samples/lib/menu.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/immi_samples/lib/login_presenter.immi ('k') | pkg/immi_samples/lib/menu.immi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/immi_samples/lib/menu.dart
diff --git a/pkg/immi_samples/lib/menu.dart b/pkg/immi_samples/lib/menu.dart
deleted file mode 100644
index e1a3079e8ae88e1202a9c9e0305a3e31f5977da4..0000000000000000000000000000000000000000
--- a/pkg/immi_samples/lib/menu.dart
+++ /dev/null
@@ -1,37 +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 file.
-
-import 'package:immi/dart/immi.dart';
-
-// Export generated code for nodes in menu.immi
-import 'package:immi/dart/menu.dart';
-export 'package:immi/dart/menu.dart';
-
-class MenuItem {
- String title;
- Function select;
-
- MenuItem(this.title, this.select);
-
- MenuItemNode present(Node previous) {
- return new MenuItemNode(title: title, select:select);
- }
-}
-
-class Menu {
- String title;
- List<MenuItem> items = [];
-
- Menu(this.title);
-
- void add(MenuItem item) {
- items.add(item);
- }
-
- MenuNode present(Node previous) {
- return new MenuNode(
- title: title,
- items:items.map((item) => item.present(null)).toList());
- }
-}
« no previous file with comments | « pkg/immi_samples/lib/login_presenter.immi ('k') | pkg/immi_samples/lib/menu.immi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698