mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
jsdoc template: fix a few style discrepancies.
This commit is contained in:
parent
7eb35bf6fb
commit
add6379ec3
4 changed files with 8 additions and 3 deletions
|
@ -170,7 +170,7 @@ Link.prototype._makeSymbolLink = function(alias, parameters) {
|
||||||
var linkName = link.linkPath.replace(/^[^#]+#/, '');
|
var linkName = link.linkPath.replace(/^[^#]+#/, '');
|
||||||
onClick = " onclick=\"return toggleMember('" + linkName + "', true);\"";
|
onClick = " onclick=\"return toggleMember('" + linkName + "', true);\"";
|
||||||
}
|
}
|
||||||
return "<a href=\""+link.linkPath+link.linkInner+"\""+target+onClick+">"+link.linkText+"</a>";
|
return "<a href=\""+link.linkPath+link.linkInner+"\""+target+onClick+"><tt>"+link.linkText+"</tt></a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Create a link to a source file. */
|
/** Create a link to a source file. */
|
||||||
|
|
|
@ -119,6 +119,11 @@ ul.package-classes {
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reference-members h2 a {
|
||||||
|
border-bottom: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
|
|
@ -15,7 +15,7 @@ select, input, textarea {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
p tt, pre {
|
tt, pre {
|
||||||
font-family: Menlo, Consolas, "Vera Mono", monospace;
|
font-family: Menlo, Consolas, "Vera Mono", monospace;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 19px;
|
line-height: 19px;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ul><b>Parameters:</b>
|
<ul><b>Parameters:</b>
|
||||||
<for each="parameter" in="data.params">
|
<for each="parameter" in="data.params">
|
||||||
<li>
|
<li>
|
||||||
<tt>{+ parameter.name +}: </tt>
|
<tt>{+ parameter.name +}:</tt>
|
||||||
{+ new Link().toSymbol(parameter.type) +}
|
{+ new Link().toSymbol(parameter.type) +}
|
||||||
<if test="parameter.desc">— {+Utils.processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
|
<if test="parameter.desc">— {+Utils.processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
|
||||||
<if test="parameter.isOptional">— optional</if><if test="parameter.defaultValue">, default: <tt>{+parameter.defaultValue+}</tt></if>
|
<if test="parameter.isOptional">— optional</if><if test="parameter.defaultValue">, default: <tt>{+parameter.defaultValue+}</tt></if>
|
||||||
|
|
Loading…
Reference in a new issue