mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
jsdoc template: fix rendering of packages.html.
This commit is contained in:
parent
c827888c71
commit
d2ad85f28c
1 changed files with 2 additions and 3 deletions
|
@ -236,12 +236,11 @@ var Utils = {
|
||||||
out = '<ul class="package-classes">';
|
out = '<ul class="package-classes">';
|
||||||
for (var i in classLayout) {
|
for (var i in classLayout) {
|
||||||
out += '<li' + (first ? ' class="first">' : '>');
|
out += '<li' + (first ? ' class="first">' : '>');
|
||||||
out += '<h2>' + i + '</h2>';
|
out += '<h2>' + i + '</h2></li>';
|
||||||
out += parseClassNames(classLayout[i]);
|
out += parseClassNames(classLayout[i]);
|
||||||
out += '</li>';
|
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
out += '</ul';
|
out += '</ul>';
|
||||||
|
|
||||||
var classesIndex = publish.templates.menu.process(out);
|
var classesIndex = publish.templates.menu.process(out);
|
||||||
IO.saveFile(publish.conf.packagesDir, 'packages.html', classesIndex);
|
IO.saveFile(publish.conf.packagesDir, 'packages.html', classesIndex);
|
||||||
|
|
Loading…
Reference in a new issue