mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
Fix @hideconstructor JSDoc tag hiding classes' properties
This commit is contained in:
parent
bdce8134fc
commit
f7336d9141
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
|||
<?js doc.modules.forEach(function(module) { ?>
|
||||
<?js= self.partial('methodList.tmpl', module) ?>
|
||||
<?js }) ?>
|
||||
<?js } else if (doc.kind === 'class' || (doc.kind === 'namespace' && doc.signature)) { ?>
|
||||
<?js } else if ((doc.kind === 'class' && !doc.hideconstructor) || (doc.kind === 'namespace' && doc.signature)) { ?>
|
||||
<h3>Description</h3>
|
||||
<div><?js= doc.description ?></div>
|
||||
<?js= self.partial('details.tmpl', doc) ?>
|
||||
|
|
|
@ -19,7 +19,7 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
|
|||
|
||||
<?js
|
||||
var properties = data.properties;
|
||||
if (properties && properties.length && properties.forEach && !data.hideconstructor) {
|
||||
if (properties && properties.length && properties.forEach) {
|
||||
?>
|
||||
|
||||
<h3 class="propsHeading" id="props">Properties</h3>
|
||||
|
|
Loading…
Reference in a new issue