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

Side by Side Diff: third_party/pkg/route_hierarchical/example/full/home.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library portfolio; 1 library portfolio;
2 2
3 import 'package:web_ui/web_ui.dart'; 3 import 'package:web_ui/web_ui.dart';
4 import 'package:route_hierarchical/client.dart'; 4 import 'package:route_hierarchical/client.dart';
5 5
6 import 'index.dart'; 6 import 'index.dart';
7 7
8 class HomeComponent extends WebComponent { 8 class HomeComponent extends WebComponent {
9 var links = <String, Map<String, String>>{}; 9 var links = <String, Map<String, String>>{};
10 10
11 created() { 11 created() {
12 ['100001', '111111'].forEach((companyId) { 12 ['100001', '111111'].forEach((companyId) {
13 links[companyId] = {}; 13 links[companyId] = {};
14 ['info', 'activities', 'notes'].forEach((mode) => 14 ['info', 'activities', 'notes'].forEach((mode) =>
15 links[companyId][mode] = router.url('companyInfo.companyId.' + mode, 15 links[companyId][mode] = router.url('companyInfo.companyId.' + mode,
16 parameters: { 16 parameters: {
17 'companyId': companyId 17 'companyId': companyId
18 })); 18 }));
19 }); 19 });
20 } 20 }
21 } 21 }
OLDNEW
« no previous file with comments | « third_party/pkg/route_hierarchical/example/full/data.dart ('k') | third_party/pkg/route_hierarchical/example/full/home.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698