summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/OpenLayers3.html
blob: c4cbb804c11034fb6c26ce7e80990786b641a33a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
    <script>
    var OpenLayers = {singleFile: true};
    </script>
    <script src="../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(1);

            var script = document.getElementById("script");

            t.eq(OpenLayers._getScriptLocation(), "../lib/", "Script location for single file build correctly detected.");
        }
    </script>
</head>
<body>
</body>
</html>