title: Require.JS shim config global scope?
body: <p>I have following setup for requireJS. </p>
  
  <pre><code>requirejs.config({
       paths: {
              'resources' : '/Scripts/resources'
       },
       shim: {
               'resources': {
                             exports: 'LocalizedStrings'
             }
       }
  });
  </code></pre>
  
  <p>And my resources.JS look like following:</p>
  
  <pre><code>LocalizedStrings = {
                      title: "Demo",
                      save: "Save"
  }
  </code></pre>
  
  <p>Now when I load resources as a dependency in main.JS file I can access LocalizedStrings and it works.</p>
  
  <pre><code>//main.js
  define(function(require){
      var LocalizedStrings = require('resources');
      console.log(LocalizedStrings); //works as expected
  });
  </code></pre>
  
  <p>However on other modules I don't really need to load the resources as dependency to access 'LocalizedStrings'. </p>
  
  <pre><code>//othermodule.js
  define(function(require){
      console.log(LocalizedStrings); //works as expected even though resources dependency is not loaded
  });
  </code></pre>
  
  <p>What I don't understand here is if I load a JS file using shim and load it once, does it become globally available and I don't have to load the same dependency again in other modules.</p>