mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
more fixing paths
This commit is contained in:
parent
16a7859f63
commit
39f0c30d12
@ -144,8 +144,12 @@
|
||||
</div><!-- /.container -->
|
||||
|
||||
<script>
|
||||
var locationPath = location.pathname.replace(/\/[^/]+$/, "");
|
||||
var dojoConfig = {
|
||||
paths: { tiles: location.pathname.replace(/\/[^/]+$/, "") + "/../../lib/tiles" }
|
||||
paths: {
|
||||
tiles: locationPath + "/../../lib/tiles",
|
||||
vendor: locationPath + "/../../vendor"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ require(["esri/map",
|
||||
"esri/layers/GraphicsLayer", "esri/graphic", "esri/symbols/SimpleFillSymbol",
|
||||
"esri/dijit/Scalebar", "esri/arcgis/utils", "esri/geometry",
|
||||
"dojo/dom", "dojo/on", "dojo/query",
|
||||
"../../vendor/bootstrap-map-js/src/js/bootstrapmap.js",
|
||||
"vendor/bootstrap-map-js/src/js/bootstrapmap",
|
||||
"esri/urlUtils", "esri/geometry/webMercatorUtils",
|
||||
"tiles/offlineEnabler",
|
||||
"dojo/dom-construct", "dojo/domReady!"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user