| Index: utils/apidoc/apidoc.dart
|
| diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
|
| index 793cd68ab74ed69a7a5c391ce10a89cc718d59b2..7c2133a6cfd8351b062458c4ab470978760c6863 100644
|
| --- a/utils/apidoc/apidoc.dart
|
| +++ b/utils/apidoc/apidoc.dart
|
| @@ -184,7 +184,7 @@ class Htmldoc extends doc.Dartdoc {
|
| }
|
|
|
| doc.DocComment getRecordedLibraryComment(LibraryMirror library) {
|
| - if (doc.displayName(library) == HTML_LIBRARY_NAME) {
|
| + if (HTML_LIBRARY_NAMES.contains(doc.displayName(library))) {
|
| return libraryComment;
|
| }
|
| return null;
|
| @@ -389,7 +389,7 @@ class Apidoc extends doc.Dartdoc {
|
| }
|
|
|
| doc.DocComment getLibraryComment(LibraryMirror library) {
|
| - if (doc.displayName(library) == HTML_LIBRARY_NAME) {
|
| + if (HTML_LIBRARY_NAMES.contains(doc.displayName(library))) {
|
| return htmldoc.libraryComment;
|
| }
|
| return super.getLibraryComment(library);
|
| @@ -469,7 +469,7 @@ class Apidoc extends doc.Dartdoc {
|
| }
|
|
|
| var typeString = '';
|
| - if (doc.displayName(type.library) == HTML_LIBRARY_NAME) {
|
| + if (HTML_LIBRARY_NAMES.contains(doc.displayName(type.library))) {
|
| // If it's an HTML type, try to map it to a base DOM type so we can find
|
| // the MDN docs.
|
| final domTypes = _diff.htmlTypesToDom[type.qualifiedName];
|
| @@ -503,7 +503,7 @@ class Apidoc extends doc.Dartdoc {
|
| MdnComment includeMdnMemberComment(MemberMirror member) {
|
| var library = findLibrary(member);
|
| var memberString = '';
|
| - if (doc.displayName(library) == HTML_LIBRARY_NAME) {
|
| + if (HTML_LIBRARY_NAMES.contains(doc.displayName(library))) {
|
| // If it's an HTML type, try to map it to a DOM type name so we can find
|
| // the MDN docs.
|
| final domMembers = _diff.htmlToDom[member.qualifiedName];
|
|
|