Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix: Namespaces look like classes - constructors #2

Merged
merged 1 commit into from

2 participants

@valscion

A pull request to fix a piece of issue #1

Looks like there was just a typo in two if-statements where it was decided whether to show the constructor documentation or not. Just a missing NOT

@WouterBos WouterBos merged commit a091d81 into WouterBos:master
@WouterBos
Owner

The devil is in the details :) Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 19, 2011
  1. @valscion
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 class.tmpl
View
4 class.tmpl
@@ -54,7 +54,7 @@
</div>
</header>
- <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+ <if test="!data.isBuiltin() && (!data.isNamespace || data.is('CONSTRUCTOR'))">
<section>
<div class="props">
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
@@ -311,7 +311,7 @@
<!--
#### CONSTRUCTOR DETAILS
-->
- <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+ <if test="!data.isBuiltin() && (!data.isNamespace || data.is('CONSTRUCTOR'))">
<section>
<div class="details props">
<div class="innerProps">
Something went wrong with that request. Please try again.