2018-09-18 12:17:34 +00:00
|
|
|
<?js
|
|
|
|
var data = obj;
|
|
|
|
var self = this;
|
|
|
|
?>
|
2018-10-10 11:00:35 +00:00
|
|
|
<h4 class="name bold" id="<?js= id ?>"><?js= data.attribs + name + (data.signature ? data.signature : '') ?></h4>
|
2018-09-18 12:17:34 +00:00
|
|
|
|
|
|
|
<?js if (data.summary) { ?>
|
|
|
|
<p class="summary"><?js= summary ?></p>
|
|
|
|
<?js } ?>
|
|
|
|
|
|
|
|
<?js if (data.description) { ?>
|
2018-10-10 11:00:35 +00:00
|
|
|
<div class="desc">
|
2018-09-18 12:17:34 +00:00
|
|
|
<?js= data.description ?>
|
|
|
|
</div>
|
|
|
|
<?js } ?>
|
|
|
|
|
|
|
|
<?js if (data.type && data.type.names) {?>
|
|
|
|
<h5>Type:</h5>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<?js= self.partial('type.tmpl', data.type.names) ?>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<?js } ?>
|
|
|
|
|
|
|
|
<?js= this.partial('details.tmpl', data) ?>
|
|
|
|
|
|
|
|
<?js if (data.fires && fires.length) { ?>
|
|
|
|
<h5>Fires:</h5>
|
|
|
|
<ul><?js fires.forEach(function(f) { ?>
|
|
|
|
<li><?js= self.linkto(f) ?></li>
|
|
|
|
<?js }); ?></ul>
|
|
|
|
<?js } ?>
|
|
|
|
|
|
|
|
<?js if (data.examples && examples.length) { ?>
|
|
|
|
<h5>Example<?js= examples.length > 1? 's':'' ?></h5>
|
|
|
|
<?js= this.partial('examples.tmpl', examples) ?>
|
|
|
|
<?js } ?>
|