1."dojo/query" is very important when you want to get elements'attributesfrom your document,and it's often faster.
2.The codes below are necessary for us to build modular viewer and controller code for mvc applications:
var dojoConfig = { async: true,// This code registers the correct location of the "demo" // package so we can load Dojo from the CDN whilst still // being able to load local modules packages: [{ name: "demo",location: location.pathname.replace(/\/[^/]*$/,'') + '/demo' }] };3.