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

Side by Side Diff: dart/pkg/dartdoc/lib/src/client/client-shared.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 part of client_live_nav;
2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 // Code shared between the different client-side libraries. 5 // Code shared between the different client-side libraries.
8 6
9 // The names of the library and type that this page documents. 7 // The names of the library and type that this page documents.
10 String currentLibrary = null; 8 String currentLibrary = null;
11 String currentType = null; 9 String currentType = null;
12 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 97
100 String getLibraryMemberUrl(String libraryName, Map memberInfo) => 98 String getLibraryMemberUrl(String libraryName, Map memberInfo) =>
101 '$prefix${sanitize(libraryName)}.html#${getMemberAnchor(memberInfo)}'; 99 '$prefix${sanitize(libraryName)}.html#${getMemberAnchor(memberInfo)}';
102 100
103 String getTypeMemberUrl(String libraryName, String typeName, Map memberInfo) => 101 String getTypeMemberUrl(String libraryName, String typeName, Map memberInfo) =>
104 '$prefix${sanitize(libraryName)}/${sanitize(typeName)}.html#' 102 '$prefix${sanitize(libraryName)}/${sanitize(typeName)}.html#'
105 '${getMemberAnchor(memberInfo)}'; 103 '${getMemberAnchor(memberInfo)}';
106 104
107 String getMemberAnchor(Map memberInfo) => memberInfo.containsKey(LINK_NAME) 105 String getMemberAnchor(Map memberInfo) => memberInfo.containsKey(LINK_NAME)
108 ? memberInfo[LINK_NAME] : memberInfo[NAME]; 106 ? memberInfo[LINK_NAME] : memberInfo[NAME];
OLDNEW
« no previous file with comments | « dart/pkg/dartdoc/lib/src/client/client-live-nav.dart ('k') | dart/pkg/dartdoc/lib/src/client/client-static.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698