mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
fixed relative paths
This commit is contained in:
parent
15f1853ee0
commit
3b4df74472
@ -115,12 +115,12 @@
|
||||
var locationPath = location.pathname.replace(/\/[^/]+$/, "");
|
||||
var dojoConfig = {
|
||||
paths: {
|
||||
tpk: locationPath + "lib/tpk",
|
||||
tiles: "//esri.github.io/offline-editor-js/lib/tiles"
|
||||
tpk: locationPath + "/../lib/tpk",
|
||||
tiles: locationPath + "/../lib/tiles"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="lib/shim/IndexedDBShim.min.js"></script>
|
||||
<script src="../vendor/IndexedDBShim/dist/IndexedDBShim.min.js"></script>
|
||||
<script src="http://js.arcgis.com/3.9/"></script>
|
||||
<script>
|
||||
require(["esri/map","tpk/TPKLayer","tpk/zip","dojo/on","dojo/_base/window","dojo/domReady!"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user