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

Unified Diff: third_party/pkg/route_hierarchical/example/full/root-view.dart

Issue 176943008: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/route_hierarchical/example/full/root-view.dart
diff --git a/third_party/pkg/route_hierarchical/example/full/root-view.dart b/third_party/pkg/route_hierarchical/example/full/root-view.dart
deleted file mode 100644
index a780a9ef5b5d9b7f8c211c2d79869f5d5b6a62e9..0000000000000000000000000000000000000000
--- a/third_party/pkg/route_hierarchical/example/full/root-view.dart
+++ /dev/null
@@ -1,20 +0,0 @@
-library companyinfo;
-
-import 'dart:html';
-import 'package:web_ui/web_ui.dart';
-import 'package:route_hierarchical/client.dart';
-
-class RootView extends WebComponent {
- RouteHandle route;
- @observable String currentRouteName;
-
- inserted() {
- ['home', 'companyInfo', 'portfolio'].forEach((routeName) =>
- route.getRoute(routeName)
- .onRoute.listen((_) => currentRouteName = routeName));
- }
-
- removed() {
- route.discard();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698