
<h1>
  <span class="type">Class</span>
  <span class="name">{{name}}</span>
</h1>

<div class="box meta">
  {{#if uses}}
    <div class="uses">
      Uses
      <ul class="inline commas">
        {{#uses}}
          <li><a href="{{.}}.html">{{.}}</a></li>
        {{/uses}}
      </ul>
    </div>
  {{/if}}

  {{#if extends}}
    <div class="extends">
      Extends {{#crossLink extends}}{{/crossLink}}
    </div>
  {{/if}}

  {{#if foundAt}}
    <div class="foundat">
      Defined in: <a href="{{foundAt}}">`{{{file}}}:{{{line}}}`</a>
    </div>
  {{/if}}

  {{#if process}}
    <div class="processRun">
      process:
      {{#process}}
        <a href="http://docs.fireball-x.com/editor/ipc-channel/#Core_and_Page_Process">{{.}}</a>
      {{/process}}
    </div>
  {{/if}}

  {{#if module}}
    {{#if submodule}}
      Module: {{#crossLinkModule submodule}}{{/crossLinkModule}}<br>
      Parent Module: {{#crossLinkModule module}}{{/crossLinkModule}}
    {{else}}
      Module: {{#crossLinkModule module}}{{/crossLinkModule}}
    {{/if}}
  {{/if}}

  {{#if since}}
    <p>Available since {{since}}</p>
  {{/if}}

</div>

{{#if deprecated}}
  <div class="box deprecated">
    <p>
      {{#if deprecationMessage}}
        <strong>Deprecated:</strong> {{deprecationMessage}}
      {{else}}
        This class is deprecated.
      {{/if}}
    </p>
  </div>
{{/if}}

<div class="box intro">{{{description}}}</div>

<!-- Class member index -->

<div class="class-detail">

  {{#if members.properties}}
    <div class="properties-detail">
      <h3 class="section-title">Properties</h3>
      {{#members.properties}}{{>props}}{{/members.properties}}
      <div class="no-visible-items-message">
        <p>There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. <a href="#index" class="index-jump-link">index</a></p>
      </div>
    </div>
  {{/if}}

  {{#if members.attributes}}
    <div class="attrs-detail">
      <h3  class="section-title">Attributes</h3>
      {{#members.attributes}}{{> attrs}}{{/members.attributes}}
    </div>
  {{/if}}

  {{#if is_constructor}}
    <div class="constructor"><h3 class="section-title">Constructor</h3>{{>method}}</div>
  {{/if}}

  {{#if members.methods}}
    <div class="methods-detail">
      <h3 class="section-title">Methods</h3>
      {{#members.methods}}{{> method}}{{/members.methods}}
      <div class="no-visible-items-message">
        <p>There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. <a href="#index" class="index-jump-link">index</a></p>
      </div>
    </div>
  {{/if}}

  {{#if members.events}}
    <div class="events-detail">
      <h3 class="section-title">Events</h3>
      {{#members.events}}{{> events}}{{/members.events}}
      <div class="no-visible-items-message">
        <p>There are no events that match your current filter settings. You can change your filter settings in the index section on this page. <a href="#index" class="index-jump-link">index</a></p>
      </div>
    </div>
  {{/if}}

</div>
