File: exceptions.tmpl

package info (click to toggle)
node-async 3.2.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,732 kB
  • sloc: javascript: 13,616; sh: 151; makefile: 126
file content (32 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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 } ?>