Cant understand scope issue here
<p>I dont understand why/ how to accomplish this fairly simple thing. If someone could explain it that would be great.</p>

<pre><code>function Module(config) {
  this.host = {Collapse: $('&lt;a href="#" class="collapse"&gt;C&lt;/a&gt;')};

  function EnableCollapse() {
    //I need to access host.Collapse here
    this.host.Collapse.hide(); // Throws error
    host.Collapse.hide(); //Throws error
  }
}
</code></pre>

<p>How do I access Collapse inside this function? Or should these work and perhaps i have something else wrong?</p>
