title: What is the purpose of function in the dojo require?
body: <pre><code>// Load the dom module
  require(["dojo/dom"], function(dom){
  });
  </code></pre>
  
  <p>I understand that the function is called when the dom module is loaded but I am not clear with what will be the code within the function. Is it a container for all the javascript code on my page?</p>