8000 About the static members of the error · Issue #115 · clenemt/docdash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
About the static members of the error #115
Open
@Mr-ziqiang

Description

@Mr-ziqiang

In publish.js line No.366,i find a bug,look flow

 members.forEach(function (member) {
      if (!member.scope === 'static') return;        <------- this will not work
      itemsNav += "<li data-type='member'";
      if(docdash.collapse)
          itemsNav += " style='display: none;'";
      itemsNav += ">";
      itemsNav += linkto(member.longname, member.name);
      itemsNav += "</li>";
  });

I think maybe you want write to

if(member.scope!=='static') return;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0