more fixing paths

This commit is contained in:
Javier Abadia 2014-01-03 00:14:38 +01:00
parent 16a7859f63
commit 39f0c30d12
2 changed files with 6 additions and 2 deletions

View File

@ -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>

View File

@ -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!"],