<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic multiple requires in a single line in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-requires-in-a-single-line/m-p/730062#M67733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In using 1.7 dojo they call multiple items in a single call. But when I try this under the ArcGIS api it blows the app up. is this common or am I making a coding error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
dojo.require([ "dojo.parser", "dojo.domReady", "esri.map"]);

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 dojo.require("dojo.parser");
 dojo.require("dojo.domReady");
 dojo.require("esri.map");
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 14:53:29 GMT</pubDate>
    <dc:creator>NigelAlford</dc:creator>
    <dc:date>2012-07-09T14:53:29Z</dc:date>
    <item>
      <title>multiple requires in a single line</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-requires-in-a-single-line/m-p/730062#M67733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In using 1.7 dojo they call multiple items in a single call. But when I try this under the ArcGIS api it blows the app up. is this common or am I making a coding error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
dojo.require([ "dojo.parser", "dojo.domReady", "esri.map"]);

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 dojo.require("dojo.parser");
 dojo.require("dojo.domReady");
 dojo.require("esri.map");
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 14:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-requires-in-a-single-line/m-p/730062#M67733</guid>
      <dc:creator>NigelAlford</dc:creator>
      <dc:date>2012-07-09T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: multiple requires in a single line</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-requires-in-a-single-line/m-p/730063#M67734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like you're confusing the use of require and dojo.require. The former is the new, AMD style of loading modules and accepts and array of strings (and then passes them to an optional callback once all modules are loaded). The latter is the legacy way of loading modules and takes a single string argument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 14:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-requires-in-a-single-line/m-p/730063#M67734</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-09T14:56:35Z</dc:date>
    </item>
  </channel>
</rss>

