mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
jsdoc template: clean up menu html.
This commit is contained in:
parent
bcc9d4efcd
commit
048dda45d5
1 changed files with 4 additions and 4 deletions
|
@ -228,21 +228,21 @@ var Utils = {
|
||||||
name = names[0];
|
name = names[0];
|
||||||
link = names[1];
|
link = names[1];
|
||||||
}
|
}
|
||||||
return '<li><a href="' + link + '.html">' + name + '</a></li>';
|
return '<li><a href="' + link + '.html">' + name + '</a></li>\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRuler() {
|
function getRuler() {
|
||||||
return '<li><hr /></li>';
|
return '<li><hr /></li>\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getHeading(title) {
|
function getHeading(title) {
|
||||||
return '<li><h3>' + title + '</h3></li>';
|
return '<li><h3>' + title + '</h3></li>\n';
|
||||||
}
|
}
|
||||||
var first = true,
|
var first = true,
|
||||||
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></li>';
|
out += '<h2>' + i + '</h2></li>\n';
|
||||||
out += parseClassNames(classLayout[i]);
|
out += parseClassNames(classLayout[i]);
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue