title: Error: defineAlreadyDefined
body: <p>I get this error: <code>Error: defineAlreadyDefined</code>, that only occurs with dojo.</p>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>&lt;script data-main="app" src="require.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>require({
      paths : {
          dojo : 'http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/dojo'
      }
  });
  
  require([ 'dojo' ], function() {
     //something
  });
  </code></pre>
  
  <p>I found a similar question, but didn't help me:</p>
  
  <p><a href="https://stackoverflow.com/questions/9784314/when-dojo-js-loaded-via-ajax-multiple-times-get-error-definealreadydefined">When dojo.js loaded via ajax multiple times get Error: defineAlreadyDefined</a></p>
  
  <p>EDIT: I searched and I think the way that i am trying to use requiJS and Dojo is wrong.
  <a href="http://dojotoolkit.org/features/1.6/async-modules" rel="nofollow noreferrer">http://dojotoolkit.org/features/1.6/async-modules</a></p>
  
  <p>Any idea? thanks</p>