Solved! Go to Solution.
Hi,
Has anyone tried to reference the ArcGIS API for JavaScript using StealJS instead of adding
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri.css">
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/"></script>
to the <head> tag?
I tried to use:
steal("http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/")
.css("http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri")
but StealJs thinks i am looking for "http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/.js" and reports not found(404).
Hi,
Has anyone tried to reference the ArcGIS API for JavaScript using StealJS instead of adding
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri.css">
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/"></script>
to the <head> tag?
I tried to use:
steal("http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/")
.css("http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri")
but StealJs thinks i am looking for "http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/.js" and reports not found(404).
I don't know what StealJS is, but if it requires a path to a JS file you can probably use one of the following URLs