title: require.js: Access all loaded modules
body: <p>Is there any way to access all loaded modules of require.js?</p>
  
  <p>Background:<br>
  I want to automatically call an <code>init()</code> function of my javascript-modules after all of them are loaded, see <a href="https://stackoverflow.com/questions/11740567/">require.js + backbone.js: How to structure modules that have an initialize function?</a>
  Without require.js I looped over my own module-storage and called each <code>init()</code> function.<br>
  I now want to do this with require.js. I'm aware that calling a <code>my_custom_init_function_favoritecolor_petname_love123</code> of every loaded module (including external libraries) is dangerous. I hope that this will cause less trouble than manually keeping a list of all modules (and the requirements of these modules) up-to-date. Forgetting one module init() is much more likely than a third-party library having my custom function name (though the latter is probably harder to debug).</p>
  
  <p>Or does anyone have a better idea of how to accomplish that?</p>