<?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 Re: Is JavaScript Web Optimizer working with 3.1x JS API? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122563#M11449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lloyd, thanks for coming back to me.&lt;/P&gt;&lt;P&gt;After I set locale to 'en-us' in dojo config my app loads fine. I still get some 404 errors but that doesn't seem to matter. &lt;/P&gt;&lt;P&gt;I still need to keep the dojo config async set to false, but that is probably because I didn't require some third party libraries properly. I suspect this is also the reason why the app loads as slowly as before.&lt;/P&gt;&lt;P&gt;My colleague who is more experienced with grunt, bower, and node.js showed me how to get started with &lt;A href="https://www.npmjs.com/package/grunt-esri-slurp"&gt;grunt-esri-slurp&lt;/A&gt; but I still didn't quite get my head around it. I'd really like to see some video where grunt-esri-slurp and code minification are explained on a complete app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 21:51:45 GMT</pubDate>
    <dc:creator>FilipKrál</dc:creator>
    <dc:date>2015-05-01T21:51:45Z</dc:date>
    <item>
      <title>Is JavaScript Web Optimizer working with 3.1x JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122560#M11446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use the JavaScript Web Optimizer (&lt;A href="http://jso.arcgis.com/"&gt;http://jso.arcgis.com&lt;/A&gt;​​​) to create some custom builds of ArcGIS JavaScript API. I get the final files but the application does not load and errors out with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error 404: .../web-optimizer/dojo/dojo.js.map &lt;/P&gt;&lt;P&gt;Error 404: .../web-optimizer/dojo/cldr/nls/en-gb/gregorian.js &lt;/P&gt;&lt;P&gt;scriptError&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following the tutorial pretty closely. I tried several builds, the simplest contains the 5 modules below. I tried to apply it on the application that comes in the &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html"&gt;developer sandbox&lt;/A&gt; but I keep getting the errors above.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dijit/_base/manager&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dojo/domReady&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dojo/fx/Toggler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dojo/_base/html&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;esri/map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing anything? What is the latest version when the web optimizer worked for you?&lt;/P&gt;&lt;P&gt;You can see the broken app here: &lt;A href="http://filipkral.com/dev/arcgis-js/"&gt;http://filipkral.com/dev/arcgis-js/ &lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate your help here because making a custom build has become necessary to load an app that uses all the attached modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 23:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122560#M11446</guid>
      <dc:creator>FilipKrál</dc:creator>
      <dc:date>2015-03-16T23:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is JavaScript Web Optimizer working with 3.1x JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122561#M11447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha finally I can see a map!&lt;/P&gt;&lt;P&gt;The first error about gregorian calendar disappeared when I added a config option to specify localization.&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14266319599763339" data-renderedposition="50_8_912_16" jivemacro_uid="_14266319599763339"&gt;&lt;P&gt;&amp;lt;script src="./ags3-13-standard/dojo/dojo.js" data-dojo-config="async: true, locale: 'en-us'"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note however that the app should really be in en-gb, which did not work.&lt;/P&gt;&lt;P&gt;It still cannot found /dojo/dojo.js.map but so far that has not been a problem (with the vanilla app from developer sandbox).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still any tips about this topic welcome.&lt;/P&gt;&lt;P&gt;Filip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 22:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122561#M11447</guid>
      <dc:creator>FilipKrál</dc:creator>
      <dc:date>2015-03-17T22:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is JavaScript Web Optimizer working with 3.1x JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122562#M11448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Filip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you still having issues with your build?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lloyd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 20:00:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122562#M11448</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2015-05-01T20:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is JavaScript Web Optimizer working with 3.1x JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122563#M11449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lloyd, thanks for coming back to me.&lt;/P&gt;&lt;P&gt;After I set locale to 'en-us' in dojo config my app loads fine. I still get some 404 errors but that doesn't seem to matter. &lt;/P&gt;&lt;P&gt;I still need to keep the dojo config async set to false, but that is probably because I didn't require some third party libraries properly. I suspect this is also the reason why the app loads as slowly as before.&lt;/P&gt;&lt;P&gt;My colleague who is more experienced with grunt, bower, and node.js showed me how to get started with &lt;A href="https://www.npmjs.com/package/grunt-esri-slurp"&gt;grunt-esri-slurp&lt;/A&gt; but I still didn't quite get my head around it. I'd really like to see some video where grunt-esri-slurp and code minification are explained on a complete app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 21:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-javascript-web-optimizer-working-with-3-1x-js/m-p/122563#M11449</guid>
      <dc:creator>FilipKrál</dc:creator>
      <dc:date>2015-05-01T21:51:45Z</dc:date>
    </item>
  </channel>
</rss>

