access jquery plugin from jquery template
<p>i'd like to access a jquery plugin from inside a template. This doesn't appear to work:</p>

<pre><code>&lt;script id="myTemplate" type="text/x-jquery-tmpl"&gt;   
    {{= $.myplugin.myFunction( data.datum) }} 
&lt;/script&gt;
</code></pre>

<p>i could pass in a function to the template like:</p>

<pre><code>$('#myTemplate').tmpl(data, {
    myFunction: function (datum){
        return datum +datum;
       }
  }
</code></pre>

<p>but this seems hacky.</p>

<p>Is there a cleaner solution? Or am i miss calling the jquery plugin object?</p>

<p>Thanks!</p>
