title: Require.js & Marionette: defining includes when extending classes
body: <p>I'm working on a project using Require.js, Backbone and Marionette, and the <code>define/function</code> calls at the top of my files are getting a bit ludicrous.  I'd like to find a way to move the "includes" out of the topmost <code>define</code> block, and into the <code>extend</code> where the are relevant.</p>
  
  <p>So my structure roughly looks like this:</p>
  
  <pre><code>define(['underscore','jquery','handlebars','someTemplate','someModel',etc...], function(_,$,Handlebars,template,model,etc...){
    var someView = Backbone.Marionette.ItemView.extend({
      // code here
    });
    return someView;
  });
  </code></pre>
  
  <p>So as I add more views to the file, that <code>define</code> list gets really, really, long.  I've tried doing something like:</p>
  
  <pre><code>var someView = define(['someTemplate','someModel'], function(template, model){
    return Backbone.Marionette.ItemView.extend({
      // code here
    });
  ]);
  </code></pre>
  
  <p>But then <code>someView</code> is undefined when I call it later.  Am I doing this wrong, or is it not possible?</p>