Decode what we encode.
This commit is contained in:
+3
-2
@@ -29,12 +29,12 @@
|
|||||||
hostResult = hostRegex.exec(l.href),
|
hostResult = hostRegex.exec(l.href),
|
||||||
modeResult = modeRegex.exec(l.href),
|
modeResult = modeRegex.exec(l.href),
|
||||||
host = (hostResult && hostResult[1])
|
host = (hostResult && hostResult[1])
|
||||||
? hostResult[1]
|
? decodeURIComponent(hostResult[1])
|
||||||
: (l.host)
|
: (l.host)
|
||||||
? l.host + ':9810'
|
? l.host + ':9810'
|
||||||
: 'localhost:9810',
|
: 'localhost:9810',
|
||||||
mode = (modeResult && modeResult[1])
|
mode = (modeResult && modeResult[1])
|
||||||
? modeResult[1]
|
? decodeURIComponent(modeResult[1])
|
||||||
: 'SIMPLE',
|
: 'SIMPLE',
|
||||||
|
|
||||||
// Create the script tag which includes the derived variables from above
|
// Create the script tag which includes the derived variables from above
|
||||||
@@ -89,6 +89,7 @@
|
|||||||
<script type="text/javascript" src="spec/ol/layer/XYZ.test.js"></script>
|
<script type="text/javascript" src="spec/ol/layer/XYZ.test.js"></script>
|
||||||
<script type="text/javascript" src="spec/ol/Feature.test.js"></script>
|
<script type="text/javascript" src="spec/ol/Feature.test.js"></script>
|
||||||
<script type="text/javascript" src="spec/ol/renderer/WebGL.test.js"></script>
|
<script type="text/javascript" src="spec/ol/renderer/WebGL.test.js"></script>
|
||||||
|
<script type="text/javascript" src="spec/ol/renderer/TileLayerRenderer.test.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
Reference in New Issue
Block a user