Skip to content

Commit

Permalink
show mixins for members, not just classes and modules (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Jul 1, 2014
1 parent 6e940d2 commit 19867a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/default/tmpl/container.tmpl
Expand Up @@ -60,14 +60,6 @@
<?js }); ?></ul>
<?js } ?>

<?js if (doc.mixes && doc.mixes.length) { ?>
<h3 class="subsection-title">Mixes In</h3>

<ul><?js doc.mixes.forEach(function(a) { ?>
<li><?js= self.linkto(a, a) ?></li>
<?js }); ?></ul>
<?js } ?>

<?js if (doc.requires && doc.requires.length) { ?>
<h3 class="subsection-title">Requires</h3>

Expand Down
10 changes: 10 additions & 0 deletions templates/default/tmpl/details.tmpl
Expand Up @@ -38,6 +38,16 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
</li></dd>
<?js } ?>

<?js if (data.mixes && data.mixes.length) { ?>
<dt class="mixes">Mixes In:</dt>

<dd class="mixes"><ul>
<?js data.mixes.forEach(function(a) { ?>
<li><?js= self.linkto(a, a) ?></li>
<?js }); ?>
</ul></dd>
<?js } ?>

<?js if (data.deprecated) { ?>
<dt class="important tag-deprecated">Deprecated:</dt><?js
if (data.deprecated === true) { ?><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd><?js }
Expand Down

0 comments on commit 19867a0

Please sign in to comment.