Solved! Go to Solution.
<script type="text/javascript" > var dojoConfig = { async: true, packages: [ { "name": "js", "location": location.pathname.replace(/\/[^/]+$/, "")+'js/' }, { "name": "widgets", "location": location.pathname.replace(/\/[^/]+$/, "")+'js/widgets/' }, { "name": "dgrid", "location": location.pathname.replace(/\/[^/]+$/, "")+'js/dgrid/' } ] }; </script>
<script src="dist/dojo/dojo.js" data-dojo-config="async: true"></script>
"esri/dijit/PopupTemplate", "esri/InfoTemplate", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/symbols/Font", "dojo/_base/Color", "esri/map", "dojo/parser", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ArcGISTiledMapServiceLayer", "esri/geometry/Extent", "esri/SpatialReference", "esri/dijit/Popup", "dojo/_base/array", "dojo/dom-construct", "dojo/dom-class", "dojo/on", "esri/tasks/IdentifyTask", "esri/tasks/IdentifyParameters", "dojo/_base/array", "dojo/_base/Deferred", "dojo/DeferredList", "dojo/_base/declare", "dojo/on", "esri/tasks/query", "dojo/store/Memory", "esri/tasks/QueryTask", "dojo/_base/array", "dojo/domReady!", "esri/tasks/query", "esri/tasks/QueryTask", "esri/graphic", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "dojo/_base/Color", "dojo/domReady!", "dijit/form/HorizontalSlider", "dojo/domReady!", "esri/tasks/query", "esri/tasks/QueryTask", "dojo/_base/array", "esri/dijit/BasemapGallery", "esri/geometry/Extent", "esri/toolbars/draw", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/symbols/CartographicLineSymbol", "esri/graphic", "esri/Color", "dojo/dom", "dojo/on", "esri/geometry/Point", "esri/geometry/webMercatorUtils", "esri/SpatialReference", "esri/graphic", "dojo/on", "dojo/on", "esri/tasks/GeometryService", "esri/layers/GraphicsLayer", "esri/geometry/Point", "esri/geometry/Polyline", "esri/symbols/TextSymbol", "esri/tasks/DistanceParameters", "esri/tasks/AreasAndLengthsParameters", "esri/graphic", "dojo/_base/array", "esri/toolbars/navigation", "esri/tasks/Geoprocessor", "esri/request", "esri/tasks/DataFile", "esri/layers/ArcGISDynamicMapServiceLayer", "dojo/dom", "dojo/_base/array", "dojox/data/CsvStore", "esri/geometry/webMercatorUtils", "esri/geometry/Point", "esri/geometry/Multipoint", "esri/layers/FeatureLayer", "dojo/on", "dojo/_base/lang", "esri/tasks/PrintTask", "esri/tasks/PrintParameters", "esri/tasks/PrintTemplate", "esri/dijit/Scalebar"
Thanks. Your dojoConfig looks good, it's not causing this.
We should probably be bundling this module with builds automatically. Until then, please add dojo/fx/Toggler to your module list (it's not in the one you posted).