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

Unified Diff: client/web/typedef.dart

Issue 149573008: Factor out the anchor prefix to easily allow switching to #! (Closed) Base URL: https://github.com/dart-lang/dartdoc-viewer.git@master
Patch Set: Fixes from review 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
« no previous file with comments | « client/web/type.dart ('k') | client/web/typedef.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/web/typedef.dart
diff --git a/client/web/typedef.dart b/client/web/typedef.dart
index 889bed1238a303911bf5548215b3e3b3fa4b2875..c0a9f761034e14a6c9f136688c8080cadaa0be8e 100644
--- a/client/web/typedef.dart
+++ b/client/web/typedef.dart
@@ -5,6 +5,7 @@
library web.typedef;
import 'package:dartdoc_viewer/item.dart';
+import 'package:dartdoc_viewer/location.dart';
import 'package:polymer/polymer.dart';
import 'member.dart';
@@ -16,4 +17,6 @@ class TypedefElement extends MemberElement {
get defaultItem => _defaultItem;
static final _defaultItem =
new Typedef({'name' : 'loading', 'qualifiedName' : 'loading'});
+
+ String get prefixedLocation => locationPrefixed(item.type.location);
}
« no previous file with comments | « client/web/type.dart ('k') | client/web/typedef.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698