2011-05-26 14:13:07 -04:00
|
|
|
{!
|
2011-05-27 08:59:43 -04:00
|
|
|
data.desc = processGroupTitle(data.desc, data);
|
2011-05-26 14:13:07 -04:00
|
|
|
var memberId = Helpers.getSymbolId(data);
|
|
|
|
var functionTitle = '<b>' + data.name.replace(/\^\d+$/, '') + '</b>' + makeSignature(data.params);
|
|
|
|
if (data.isStatic)
|
|
|
|
functionTitle = '<b>' + data.memberOf + '.</b>' + functionTitle;
|
|
|
|
!}
|
2011-05-27 08:59:43 -04:00
|
|
|
<if test="defined(data.groupTitle)">
|
|
|
|
<h3>{+data.groupTitle+}</h3>
|
|
|
|
</if>
|
2011-05-26 14:13:07 -04:00
|
|
|
<div id="{+ memberId +}" class="member">
|
|
|
|
<div id="{+ memberId +}-link" class="member-link">
|
|
|
|
<a name="{+ memberId +}" href="#" onClick="return toggleMember('{+ memberId +}', false);"><tt>{+ functionTitle +}</tt></a>
|
|
|
|
</div>
|
|
|
|
<div id="{+ memberId +}-description" class="member-description hidden">
|
|
|
|
<div class="member-header">
|
|
|
|
<div class="member-title">
|
|
|
|
<div class="member-link">
|
|
|
|
<a href="#" onClick="return toggleMember('{+ memberId +}', false);"><tt>{+ functionTitle +}</tt></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="member-close"><input type="button" value="Close" onClick="toggleMember('{+ memberId +}', false);"></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
2011-05-27 11:59:31 -04:00
|
|
|
<div class="member-text">{+processInlineTags(data.desc)+}
|
2011-05-26 14:13:07 -04:00
|
|
|
{+ new JSDOC.JsPlate(publish.conf.templatesDir+"examples.tmpl").process(data) +}
|
|
|
|
{+ new JSDOC.JsPlate(publish.conf.templatesDir+"parameters.tmpl").process(data) +}
|
|
|
|
<if test="data.returns.length">
|
|
|
|
<ul><b>Returns:</b>
|
|
|
|
<for each="item" in="data.returns">
|
|
|
|
<li>
|
2011-05-27 11:59:31 -04:00
|
|
|
<tt><if test="defined(item.type)">{+ new Link().toSymbol(item.type) +}<if test="item.desc"> — </if></if>{+processInlineTags(item.desc, { stripParagraphs: true })+}</tt>
|
2011-05-26 14:13:07 -04:00
|
|
|
</li>
|
|
|
|
</for>
|
|
|
|
</ul>
|
|
|
|
</if>
|
|
|
|
<if test="data.see.length">
|
|
|
|
<p><b>See also:</b>
|
|
|
|
<for each="item" in="data.see">
|
|
|
|
<tt>{+ new Link().toSymbol(item) +}</tt>
|
|
|
|
</for>
|
|
|
|
</p>
|
|
|
|
</if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|