esri javascript api es5 strict

346
1
03-15-2018 08:03 AM
TylerWaring1
New Contributor III

Greetings, 

   I'm trying to use ArcGIS JavaScript API in a Salesforce Lightning component. I have a a bunch of code in 3.19 that I'd like to use. However, I'm being restricted by the ES5 "strict mode" requirement that lightning components place on APIs so I am unable to use ArcGIS Javascript V 3.19. Is there a version of 3.x that is ES5 "strict mode" compliant? 

Thanks, Tyler 

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor

Here is a sample of 3.23 running in strict mode.

FeatureLayer 3.x Strict Mode 

There were some underlying issues in older version of Dojo for strict mode, but those were updated quite a while ago.

You should be fine with the latest versions of the JSAPI.