2015-05-19 17:29:34 -04:00
|
|
|
{% include "lib/githubLinks.html" -%}
|
2015-04-25 17:29:20 -04:00
|
|
|
{% include "lib/paramList.html" -%}
|
|
|
|
{% extends 'layout/base.template.html' -%}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
p.location-badge.
|
2015-05-15 08:57:38 -04:00
|
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
2015-05-19 17:29:34 -04:00
|
|
|
defined in {$ githubViewLink(doc) $}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
|
|
|
:markdown
|
2015-09-15 07:49:22 -04:00
|
|
|
{$ doc.description | indent(2, true) | trimBlankLines $}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
2015-07-28 06:23:01 -04:00
|
|
|
{%- if doc.decorators %}
|
|
|
|
.l-main-section
|
|
|
|
h2 Annotations
|
|
|
|
{%- for decorator in doc.decorators %}
|
|
|
|
.l-sub-section
|
|
|
|
h3.annotation {$ decorator.name $}
|
|
|
|
pre.prettyprint
|
|
|
|
code.
|
|
|
|
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(8, false) $}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
|
2015-04-25 17:29:20 -04:00
|
|
|
{%- if doc.constructorDoc or doc.members.length -%}
|
|
|
|
.l-main-section
|
|
|
|
h2 Members
|
|
|
|
|
|
|
|
{%- if doc.constructorDoc %}
|
|
|
|
.l-sub-section
|
2015-09-16 03:29:14 -04:00
|
|
|
h3#{$ doc.constructorDoc.name | toId $} {$ doc.constructorDoc.name $}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
2015-05-15 08:57:38 -04:00
|
|
|
{% if doc.constructorDoc.parameters %}
|
2015-04-25 17:29:20 -04:00
|
|
|
pre.prettyprint
|
|
|
|
code.
|
2015-07-30 06:24:49 -04:00
|
|
|
{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
2015-04-25 17:29:20 -04:00
|
|
|
{% endif %}
|
|
|
|
:markdown
|
2015-07-28 07:00:18 -04:00
|
|
|
{$ doc.constructorDoc.description | indent(6, true) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
{% endif -%}
|
|
|
|
|
2015-04-28 09:47:17 -04:00
|
|
|
{%- for member in doc.members %}{% if not member.private %}
|
2015-04-25 17:29:20 -04:00
|
|
|
.l-sub-section
|
2015-09-16 03:29:14 -04:00
|
|
|
h3#{$ member.name | toId $} {$ member.name $}{% if member.optional %}?{% endif %}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
2015-05-15 08:57:38 -04:00
|
|
|
{% if member.parameters %}
|
2015-04-25 17:29:20 -04:00
|
|
|
pre.prettyprint
|
|
|
|
code.
|
2015-07-30 06:24:49 -04:00
|
|
|
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(doc.returnType) $}
|
2015-04-25 17:29:20 -04:00
|
|
|
{% endif %}
|
|
|
|
:markdown
|
2015-07-28 07:00:18 -04:00
|
|
|
{$ member.description | indent(6, true) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
2015-04-25 17:29:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-28 09:47:17 -04:00
|
|
|
{% endif %}{% endfor %}
|
2015-04-25 17:29:20 -04:00
|
|
|
{%- endif -%}
|
|
|
|
|
2015-08-13 20:41:15 -04:00
|
|
|
{% endblock %}
|