title: AMD / RequireJs add decency on specific pages
body: <p>Is there a way to have a main script that act like a "global" script for all pages of a site while still have specific page script when using requiere.js. </p>
  
  <p>This would be called on all pages</p>
  
  <pre><code>&lt;script data-main="resources/js/main" src="resources/js/libs/require.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and on other page i would like to add other dependencies without having to create a different main.js script.</p>
  
  <p>Is there any way to do so ?</p>
  
  <p><strong>EDIT: Just found a way that seems to be working pretty well so far:</strong></p>
  
  <pre><code>&lt;script&gt; require.config({ deps : ['register'] }) &lt;/script&gt;
  </code></pre>
  
  <p>Any other ideas?</p>