title: CoffeeScript jQuery plugin and trying to call to external jQuery plugin
body: <p>I have the following (simple) CoffeeScript jQuery Plugin:</p>
  
  <pre><code>$ = jQuery
  
  $.fn.extend
      schoolSelect: (options) -&gt;
          settings = 
              apiUrl: '/api/v1'
              debug: false
  
          settings = $.extend settings, options
  
          log  = (msg) -&gt;
              console?.log msg if settings.debug
  
          return @each -&gt;
              @.dropkick
                  change: (val, label) -&gt;
                      log val
                      log label
  </code></pre>
  
  <p>And I call it in another CoffeeScript file like so:</p>
  
  <pre><code>$('.school_select').schoolSelect
          debug: true
  </code></pre>
  
  <p>But for some reason I keep getting the following error:
  <code>Uncaught TypeError: Object #&lt;HTMLSelectElement&gt; has no method 'dropkick'</code></p>
  
  <p>I am using the <code>DropKick</code>jQuery plugin for my HTML selects: <a href="http://jamielottering.github.com/DropKick/" rel="nofollow">http://jamielottering.github.com/DropKick/</a></p>
  
  <p>How can I access the DropKick plugin within my CoffeeScript jQuery plugin?</p>