title: Use jQuery plugin with Backbone and Requirejs
body: <p>I'm working with backbone+requirejs+jquery and I have a problem with jquery plugin loading in my current html page (backbone html template precisly).</p>
  
  <p>There is my require configuration:</p>
  
  <pre><code>require.config({
  
    paths: {
      // ... some code about backbone config
      jquery: '/js/lib/jquery/jquery.min',
      'jquery.camera' : '/js/jquery/jquery.camera'
    },
  
    shim: {
      // ... some code about backbone config
      'jquery.camera': ['jquery']  
    }
  });
  </code></pre>
  
  <p>In my layout html page I have:</p>
  
  <pre><code>&lt;script type='text/javascript' src='/js/jquery/jquery.camera.js'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and in my template page I have:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    jQuery(function() {
  
      jQuery('#test').camera({
  ...
  &lt;/script&gt;
  </code></pre>
  
  <p>Finally my browser mesg :</p>
  
  <pre><code>Uncaught TypeError: Object [object Object] has no method 'camera'
  </code></pre>
  
  <p>Do you have any idea?</p>
  
  <p>In the same time I have another question, what is the best way to include some js code in our current page with backbone,requirejs, etc.</p>
  
  <p>Thanks :)</p>