Looking at examples and seeing two different ways to require dojo.Whats the difference and which one should I be using?Sorry for the green question...dojo.require("esri.map"); dojo.require("esri.layers.FeatureLayer")
Or like thisvar map; require([ "esri/map", "esri/layers/FeatureLayer" ], function( Map, FeatureLayer )