pan>

    <span class="vi">@options = </span><span class="p">{}</span>
    <span class="vi">@openCallback = </span><span class="o">-&gt;</span>

    <span class="k">if</span> <span class="k">typeof</span> <span class="nx">options</span> <span class="o">==</span> <span class="s2">&quot;function&quot;</span>
      <span class="vi">@openCallback = </span><span class="nx">options</span>
    <span class="k">else</span> <span class="k">if</span> <span class="k">typeof</span> <span class="nx">options</span> <span 