title: How to load backbone-deep-model with RequireJS?
body: <p>While backbone-deep-model has AMD support for use with RequireJS, it depends on an <strong>underscore mixin</strong> in an external file called underscore.mixin.deepExtend.js that is not AMD compatible.</p>
  
  <p>Looking at this question: <a href="https://stackoverflow.com/questions/13627376/how-to-mixin-underscore-plugins-in-requirejs">How to mixin Underscore plugins in RequireJS?</a>, it seems that I can manually mixin deepExtend into Underscore within the <strong>shim init setting</strong> in RequireJS.</p>
  
  <pre><code>...
  shim: {
      ...
  
      'deep-model': {
          deps: 'underscore',
          init: function() {
              _.mixin(/* hash of deepExtend functions */);
              return _;
          }
      }
  }
  ...
  </code></pre>
  
  <p>However, I am stuck at what to do at this point since underscore.mixin.deepExtend does not return a hash of functions that _.mixin() requires.</p>
  
  <p>Is there a way to load backbone-deep-model with RequireJS without modifying source code?</p>