<?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 JSAPI 3.4 has typo in the esri/jsapi define versus AMD docs in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-3-4-has-typo-in-the-esri-jsapi-define-versus/m-p/109991#M10200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I load the new 3.4 API from &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the last line of this file defines the "esri/jsapi" module as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;define("esri/jsapi", [..., "esri/tasks/query", ...], function () { return {}; });&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the AMD docs state that the query module should be referenced as "esri/tasks/Query".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/query-amd.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/query-amd.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the web server is not case-sensitive, but the dojo loader is, I am getting a "multipleDefine" error from the dojoLoader if I try to reference "esri/tasks/Query" in my own AMD modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can work around the problem by referencing "esri/tasks/query" in all of my code, but this is contrary to the documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 15:52:20 GMT</pubDate>
    <dc:creator>LucasScharenbroich</dc:creator>
    <dc:date>2013-04-02T15:52:20Z</dc:date>
    <item>
      <title>JSAPI 3.4 has typo in the esri/jsapi define versus AMD docs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-3-4-has-typo-in-the-esri-jsapi-define-versus/m-p/109991#M10200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I load the new 3.4 API from &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the last line of this file defines the "esri/jsapi" module as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;define("esri/jsapi", [..., "esri/tasks/query", ...], function () { return {}; });&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the AMD docs state that the query module should be referenced as "esri/tasks/Query".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/query-amd.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/query-amd.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the web server is not case-sensitive, but the dojo loader is, I am getting a "multipleDefine" error from the dojoLoader if I try to reference "esri/tasks/Query" in my own AMD modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can work around the problem by referencing "esri/tasks/query" in all of my code, but this is contrary to the documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 15:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-3-4-has-typo-in-the-esri-jsapi-define-versus/m-p/109991#M10200</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2013-04-02T15:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 3.4 has typo in the esri/jsapi define versus AMD docs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-3-4-has-typo-in-the-esri-jsapi-define-versus/m-p/109992#M10201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's an error in the documentation, you should be using esri/tasks/query (lowercase "q"). We'll get this fixed next time we update the docs (should be in the next couple of days, if not sooner).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-3-4-has-typo-in-the-esri-jsapi-define-versus/m-p/109992#M10201</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-02T19:04:17Z</dc:date>
    </item>
  </channel>
</rss>

