title: How to load custom AMD modules when using Dojo via CDN?
body: <p>I am using google's CDN and also trying to load my own AMD modules using their loader. I know I'm doing something wrong but I'm stuck. Any ideas?</p>
  
  <pre><code>    &lt;script src="https://ajax.googleapis.com/ajax/libs/dojo/1.7.0/dojo/dojo.js" 
              type="text/javascript" data-dojo-config="async:true,parseOnLoad:true"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          require(["dojo/_base/kernel", "dojo/_base/loader", "dojo/parser"], function(dojo){
              dojo.registerModulePath("pgGallery", "http://127.0.0.1:8080/js");
          });
          require(["pgGallery/Message"], function(m){
              m.success("foo");
          });
      &lt;/script&gt;
  </code></pre>
  
  <p><a href="http://127.0.0.1:8080/js/Message.js" rel="noreferrer">http://127.0.0.1:8080/js/Message.js</a> is the location of the module.</p>