1. ariovistus
  2. ariovistus.bitbucket.org

Commits

ariovistus  committed 2c492ac

fix candydoc bug: top-level modules don't link

  • Participants
  • Parent commits 8d79fd4
  • Branches default

Comments (0)

Files changed (1)

File candydoc/explorer.js

View file
             if (!node)
                 node = prev.createChild(path[i], (path.length == i + 1) ? moduleIco : packageIco);
                 
-            if (path.length == i + 1)
-                node.setRef(path[i] + ".html");
         }
+        node.setRef(path[path.length-1] + ".html");
     }
 }