How can i call a JQuery function outside of a JQuery class?
<p>I have a class:</p>

<pre><code>var BrandDrug = Class.extend({
    fun1: function() {
       $.MyFunc(); //This does not work.
    }
});


//Outside function
$.MyFunc = (function() {
   //Code
});
</code></pre>

<p>How can i call the $.MyFunc from the BrandDrug Class?</p>
