mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
ed54199260
This updates jsdoc to the latest version from npm and forks a copy of the default jsdoc template. In subsequent commits, we will reapply our customizations to the template and to a jsdoc plugin. This also fixes several bad annotations that the new jsdoc failed to parse. Issue #1259 Change-Id: I00a47270ea4754e1c96c43ca900d5cf889ab72e6
33 lines
703 B
Cheetah
33 lines
703 B
Cheetah
<?js
|
|
var data = obj;
|
|
?>
|
|
<?js if (data.description && data.type && data.type.names) { ?>
|
|
<dl>
|
|
<dt>
|
|
<div class="param-desc">
|
|
<?js= data.description ?>
|
|
</div>
|
|
</dt>
|
|
<dd></dd>
|
|
<dt>
|
|
<dl>
|
|
<dt>
|
|
Type
|
|
</dt>
|
|
<dd>
|
|
<?js= this.partial('type.tmpl', data.type.names) ?>
|
|
</dd>
|
|
</dl>
|
|
</dt>
|
|
<dd></dd>
|
|
</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 } ?>
|