title: RequireJS shim config for Underscore
body: <p>RequireJS provides a shim configuration for loading traditional/legacy libraries which do not support AMD. The shim config allows exporting the said library to a variable.</p>
  
  <pre><code>'backbone' : {
              deps : ['underscore', 'jquery'],
              exports : 'Backbone'
  }
  </code></pre>
  
  <p>As shown above, Backbone is not AMD compatible hence the shim config is used to export the library to a variable. Similarly this can be done for Underscore.</p>
  
  <pre><code>'underscore' : {
              exports : '_'
  }
  </code></pre>
  
  <p>But even if we do not specify the shim config for Underscore, it still works fine. How ? Can someone please shed some insight on this ?</p>