Solved! Go to Solution.
require([ "esri/map", "esri/dijit/BasemapGallery", "esri/arcgis/utils", "esri/toolbars/edit", "esri/layers/ArcGISTiledMapServiceLayer", "esri/layers/FeatureLayer", "esri/tasks/query", "esri/tasks/QueryTask", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/dijit/editing/Editor", "esri/dijit/editing/TemplatePicker", "esri/config", "dojo/i18n!esri/nls/jsapi", "dojo/_base/array", "dojo/parser", "dojo/keys", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane", "dojo/dom", "dojo/on", "dojo/domReady!", ], function( Map, BasemapGallery, arcgisUtils, Edit, ArcGISTiledMapServiceLayer, FeatureLayer, Query, QueryTask, SimpleMarkerSymbol, SimpleLineSymbol, Editor, TemplatePicker, esriConfig, jsapiBundle, arrayUtils, parser, keys, dom, on ) {
require([ "esri/map", "esri/dijit/BasemapGallery", "esri/arcgis/utils", "esri/toolbars/edit", "esri/layers/ArcGISTiledMapServiceLayer", "esri/layers/FeatureLayer", "esri/tasks/query", "esri/tasks/QueryTask", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/dijit/editing/Editor", "esri/dijit/editing/TemplatePicker", "esri/config", "dojo/i18n!esri/nls/jsapi", "dojo/_base/array", "dojo/parser", "dojo/keys", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane", "dojo/dom", "dojo/on", "dojo/domReady!", ], function( Map, BasemapGallery, arcgisUtils, Edit, ArcGISTiledMapServiceLayer, FeatureLayer, Query, QueryTask, SimpleMarkerSymbol, SimpleLineSymbol, Editor, TemplatePicker, esriConfig, jsapiBundle, arrayUtils, parser, keys, borderContainer, contentPane, titlePane, dom, on ) {
require([ "esri/map", "esri/dijit/BasemapGallery", "esri/arcgis/utils", "esri/toolbars/edit", "esri/layers/ArcGISTiledMapServiceLayer", "esri/layers/FeatureLayer", "esri/tasks/query", "esri/tasks/QueryTask", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/dijit/editing/Editor", "esri/dijit/editing/TemplatePicker", "esri/config", "dojo/i18n!esri/nls/jsapi", "dojo/_base/array", "dojo/parser", "dojo/keys", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane", "dojo/dom", "dojo/on", "dojo/domReady!", ], function( Map, BasemapGallery, arcgisUtils, Edit, ArcGISTiledMapServiceLayer, FeatureLayer, Query, QueryTask, SimpleMarkerSymbol, SimpleLineSymbol, Editor, TemplatePicker, esriConfig, jsapiBundle, arrayUtils, parser, keys, dom, on ) {
require([ "esri/map", "esri/dijit/BasemapGallery", "esri/arcgis/utils", "esri/toolbars/edit", "esri/layers/ArcGISTiledMapServiceLayer", "esri/layers/FeatureLayer", "esri/tasks/query", "esri/tasks/QueryTask", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/dijit/editing/Editor", "esri/dijit/editing/TemplatePicker", "esri/config", "dojo/i18n!esri/nls/jsapi", "dojo/_base/array", "dojo/parser", "dojo/keys", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane", "dojo/dom", "dojo/on", "dojo/domReady!", ], function( Map, BasemapGallery, arcgisUtils, Edit, ArcGISTiledMapServiceLayer, FeatureLayer, Query, QueryTask, SimpleMarkerSymbol, SimpleLineSymbol, Editor, TemplatePicker, esriConfig, jsapiBundle, arrayUtils, parser, keys, borderContainer, contentPane, titlePane, dom, on ) {