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

Unified Diff: pkg/dartdoc/lib/dartdoc.dart

Issue 11036058: Show top-level members (again). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comment. Created 8 years, 2 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 | « no previous file | pkg/dartdoc/lib/src/client/dropdown.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/dartdoc.dart
diff --git a/pkg/dartdoc/lib/dartdoc.dart b/pkg/dartdoc/lib/dartdoc.dart
index 4c1f0d77b93ec1dbd4a513eed2a872a88c3a9ea8..8e9a159b64803886506961f81353e9eb8a0b9e7e 100644
--- a/pkg/dartdoc/lib/dartdoc.dart
+++ b/pkg/dartdoc/lib/dartdoc.dart
@@ -1001,7 +1001,7 @@ class Dartdoc {
host.declaredMembers.forEach((_, MemberMirror member) {
if (member.isPrivate) return;
- if (member.isStatic) {
+ if (host is LibraryMirror || member.isStatic) {
if (member.isMethod) {
staticMethods.add(member);
} else if (member.isField) {
« no previous file with comments | « no previous file | pkg/dartdoc/lib/src/client/dropdown.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698