node-query/node_modules/jsdoc/templates/default/tmpl/exceptions.tmpl

33 lines
703 B
Cheetah
Raw Normal View History

2014-10-20 16:56:45 -04:00
<?js
var data = obj;
?>
<?js if (data.description && data.type && data.type.names) { ?>
<dl>
<dt>
<div class="param-desc">
<?js= data.description ?>
</div>
</dt>
2015-01-28 15:33:44 -05:00
<dd></dd>
2014-10-20 16:56:45 -04:00
<dt>
<dl>
<dt>
Type
</dt>
<dd>
<?js= this.partial('type.tmpl', data.type.names) ?>
</dd>
</dl>
</dt>
2015-01-28 15:33:44 -05:00
<dd></dd>
2014-10-20 16:56:45 -04:00
</dl>
<?js } else { ?>
<div class="param-desc">
<?js if (data.description) { ?>
<?js= data.description ?>
<?js } else if (data.type && data.type.names) { ?>
<?js= this.partial('type.tmpl', data.type.names) ?>
<?js } ?>
</div>
<?js } ?>