Thanks for your reply Jeff, just another basic question, in Legacy code where a dojo.require declaration is made, e.g. dojo.require("esri.map"); If I have the legacy dojo.require in one js file and in my AMD migration js file I have require(["esri/map",.....], function()....) is it ok to have two calls like this to esri.map, since both js files are serving one site.
In the AMD the esri.map object is only available to the function, whereas when it is globally declared in the dojo.require(), this is global to my application??
In my project the two calls work simultaneously, I am trying to find out the best working method and so that I stick to the standard way of doing things.