Dojo namespace

390
0
09-27-2013 04:00 PM
AndyStewart1
New Contributor III
I am working within an application that uses dojo. The ESRI dojo overrides the dojo within the application, breaking some of the functionality. In previous versions of the ESRI JS API I was able to change the namespace (http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssa...) by using the following code.
djConfig = {
    scopeMap: [
      [ "dojo", "esriDojo" ],
      [ "dijit", "esriDijit" ],
      [ "dojox", "esriDojox" ]
    ]
  };


Unfortunately that doesn't work past the ESRI JS API 2.8. I have been trying to upgrade to v3.6 and have again run into this hurdle. Is there a way to change the namespace of the Dojo that ESRI imports. I have tried downloading the API and altering the dojo code in a couple of places, but that doesn't seem to be doing what I want.
0 Kudos
0 Replies