<?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 Using esri with requirejs and without dojo causing errors in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578469#M54011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SO I'm working on getting esri geolocation library separated from using dojo and it's require modules to make it more compatible with my stack involving things that need to be shimmed.&amp;nbsp; I've downloaded the arcgis_compact library and require js and defined my config as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
require.config({
&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl: "lib",
&amp;nbsp;&amp;nbsp;&amp;nbsp; paths: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": "//cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "jquery": "//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojoMain": "arcgis_compact/js/dojo/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "arcgis_compact/js/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "arcgis_compact/js/esri"
&amp;nbsp;&amp;nbsp;&amp;nbsp; },

&amp;nbsp;&amp;nbsp;&amp;nbsp; shim: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exports: "ko"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
});
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I require certain modules I get some errors when dojo requires some of the base javascripts.&amp;nbsp; Some of them seem to be dojo's require kicking in and not finding some of what I configured, others are missing modules all together.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 16:43:03 GMT</pubDate>
    <dc:creator>DanielPritchett</dc:creator>
    <dc:date>2014-03-03T16:43:03Z</dc:date>
    <item>
      <title>Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578469#M54011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SO I'm working on getting esri geolocation library separated from using dojo and it's require modules to make it more compatible with my stack involving things that need to be shimmed.&amp;nbsp; I've downloaded the arcgis_compact library and require js and defined my config as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
require.config({
&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl: "lib",
&amp;nbsp;&amp;nbsp;&amp;nbsp; paths: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": "//cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "jquery": "//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojoMain": "arcgis_compact/js/dojo/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "arcgis_compact/js/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "arcgis_compact/js/esri"
&amp;nbsp;&amp;nbsp;&amp;nbsp; },

&amp;nbsp;&amp;nbsp;&amp;nbsp; shim: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exports: "ko"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
});
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I require certain modules I get some errors when dojo requires some of the base javascripts.&amp;nbsp; Some of them seem to be dojo's require kicking in and not finding some of what I configured, others are missing modules all together.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578469#M54011</guid>
      <dc:creator>DanielPritchett</dc:creator>
      <dc:date>2014-03-03T16:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578470#M54012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SO I'm working on getting esri geolocation library separated from using dojo and it's require modules to make it more compatible with my stack involving things that need to be shimmed.&amp;nbsp; I've downloaded the arcgis_compact library and require js and defined my config as follows&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require.config({
&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl: "lib",
&amp;nbsp;&amp;nbsp;&amp;nbsp; paths: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": "//cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "jquery": "//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojoMain": "arcgis_compact/js/dojo/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "arcgis_compact/js/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "arcgis_compact/js/esri"
&amp;nbsp;&amp;nbsp;&amp;nbsp; },

&amp;nbsp;&amp;nbsp;&amp;nbsp; shim: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "knockout": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exports: "ko"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;when I require certain modules I get some errors when dojo requires some of the base javascripts.&amp;nbsp; Some of them seem to be dojo's require kicking in and not finding some of what I configured, others are missing modules all together.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to provide the URL for the hosted API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"dojoMain": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/dojo/dojo/dojo",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/dojo/dojo",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/esri"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know if this works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578470#M54012</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2021-12-12T00:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578471#M54013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is what I am doing in my example.&amp;nbsp; The base URL is my "lib" folder and I provide the urls.&amp;nbsp; If you look at the screenshot it picks up some of the requires but dojo tries to load some that dont' seem to follow the pattern (requiring _map.js from dojo for example)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You will have to provide the URL for the hosted API.&lt;BR /&gt;&lt;BR /&gt;for example&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"dojoMain": "http://&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/dojo/dojo/dojo",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "http://&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/dojo/dojo",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "http://&amp;lt;yourhostedmachinename&amp;gt;/arcgis_compact/js/esri"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;let me know if this works.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Manish&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578471#M54013</guid>
      <dc:creator>DanielPritchett</dc:creator>
      <dc:date>2014-03-04T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578472#M54014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcGIS JavaScript API version of Dojo is an already built version of Dojo, so you cannot replace the Dojo loader with RequireJS. You can apparently use the RequireJS loader with Dojo, but only with the downloaded version and you can specify which loader to use (I have never done this, but that's my understanding).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in short, you can't use RequireJS with the ArcGIS JS API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dojo doesn't provide a "shim" property in the config, but you can fake it like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define('knockout', function() {
&amp;nbsp; return ko;
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578472#M54014</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-12T00:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578473#M54015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The ArcGIS JavaScript API version of Dojo is an already built version of Dojo, so you cannot replace the Dojo loader with RequireJS. You can apparently use the RequireJS loader with Dojo, but only with the downloaded version and you can specify which loader to use (I have never done this, but that's my understanding).&lt;BR /&gt;&lt;BR /&gt;So in short, you can't use RequireJS with the ArcGIS JS API.&lt;BR /&gt;&lt;BR /&gt;Dojo doesn't provide a "shim" property in the config, but you can fake it like&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define('knockout', function() {
&amp;nbsp; return ko;
});&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that, I feared that.&amp;nbsp; It's unfortunate that it's such an opinionated framework but I have no choice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578473#M54015</guid>
      <dc:creator>DanielPritchett</dc:creator>
      <dc:date>2021-12-12T00:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578474#M54016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've had limited success loading esri modules w/ requireJS using the AMD build of the JS API (i.e. &lt;/SPAN&gt;&lt;A href="http://js.arcgis.com/3.8amd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://js.arcgis.com/3.8amd&lt;/A&gt;&lt;SPAN&gt;) using the following config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require.config({
&amp;nbsp; paths: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo": "../dojo-release-1.9.1-src/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit": "../dojo-release-1.9.1-src/dijit",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojox": "../dojo-release-1.9.1-src/dojox",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri": "http://js.arcgis.com/3.8amd/js/esri",
&amp;nbsp;&amp;nbsp;&amp;nbsp; // NOTE: loading Dojo modules from esri CDN fails
&amp;nbsp;&amp;nbsp;&amp;nbsp; // have to use local copy of Dojo... for now
&amp;nbsp;&amp;nbsp;&amp;nbsp; // "dojo": "http://js.arcgis.com/3.8amd/js/dojo/dojo",
&amp;nbsp;&amp;nbsp;&amp;nbsp; // "dijit": "http://js.arcgis.com/3.8amd/js/dojo/dijit/",
&amp;nbsp;&amp;nbsp;&amp;nbsp; // "dojox": "http://js.arcgis.com/3.8amd/js/dojo/dojox/"
&amp;nbsp; }
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've pushed what I have so far up on GitHub here: &lt;/SPAN&gt;&lt;A href="https://github.com/tomwayson/esri-require-js" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/tomwayson/esri-require-js&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caveats:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have only tested this w/ a map, to prove the concept. May be issues w/ other modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've not been able to load the Dojo modules from the CDN, so I've had to download those locally first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That may be just as well, it would be very slow to load all of those AMD files from the CDN. Ideally, you'd grab the ones you need and bring them down locally first, work from local files in dev. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact, if you planned on building the app, you'd have to bring down the Esri modules as well. - &lt;/SPAN&gt;&lt;A href="http://gis.utah.gov/the-esri-api-for-javascriptdojo-build-system-saga-continues/" rel="nofollow noopener noreferrer" target="_blank"&gt;Scott Davis has a post on how to do this &lt;/A&gt;&lt;SPAN&gt;(though hes using the Dojo loader and build system I would imagine the same principles would apply). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some hoops in getting the r.js optimizer to work w/ Esri/Dojo CDN, which may also apply when doing a local build - maybe not. See this repo for more info: &lt;/SPAN&gt;&lt;A href="https://github.com/robertd/esri-jsapi-rjs-example" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/robertd/esri-jsapi-rjs-example&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578474#M54016</guid>
      <dc:creator>TomWayson</dc:creator>
      <dc:date>2021-12-12T00:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578475#M54017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ooh, I forgot about the AMD build, nice catch Tom!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I tried in vain once to compile the EsriJS API locally (when running our requirejs experiments), but it wasn't using the AMD build.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578475#M54017</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-03-04T17:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578476#M54018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I started on this a while back, but once I realized how slow it was going to be to work w/ un-built Esri/Dojo modules, I didn't go much further with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose the next step would be to download the Esri AMD files from the CDN and use r.js to build, but I'm not sure at that point why you would do that instead of a Dojo build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully if there's any use for this, people will fork the repo and make some PRs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW - nice tip on faking the shim. I've always liked that feature of require js.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578476#M54018</guid>
      <dc:creator>TomWayson</dc:creator>
      <dc:date>2014-03-04T17:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using esri with requirejs and without dojo causing errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578477#M54019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This sample below show how to use if there is another version of Dojo in the page, but I guess we can use the same technique for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/esoekianto/twoDojos"&gt;https://github.com/esoekianto/twoDojos&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; packages : [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { name: "esri", location: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.8/js/esri" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.8/js/esri&lt;/A&gt;&lt;SPAN&gt;" },&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; { name: "dojo", location: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.8/js/dojo/dojo" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.8/js/dojo/dojo&lt;/A&gt;&lt;SPAN&gt;" },&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; { name: "dijit", location: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.8/js/dojo/dijit" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.8/js/dojo/dijit&lt;/A&gt;&lt;SPAN&gt;" },&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; { name: "dojox", location: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.8/js/dojo/dojox" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.8/js/dojo/dojox&lt;/A&gt;&lt;SPAN&gt;" }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; },&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 21:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-esri-with-requirejs-and-without-dojo-causing/m-p/578477#M54019</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2014-03-04T21:51:11Z</dc:date>
    </item>
  </channel>
</rss>

