File: OpenLayers4.html

package info (click to toggle)
openlayers 2.11%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 60,144 kB
  • ctags: 10,906
  • sloc: xml: 7,435; python: 778; sh: 68; makefile: 30
file content (18 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
    <script type="text/javascript">
        OpenLayers = {singleFile: true}; // just to make the test run faster
        document.write('<scr'+'ipt src="../lib/OpenLayers.js"></scr'+'ipt>');
        document.write('<scr'+'ipt src="bogus/foo-/OpenLayers.js"></scr'+'ipt>');
    </script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(1);
            t.eq(OpenLayers._getScriptLocation(), "../lib/",
                 "Script location correctly detected, and not fooled by other scripts.");
        }
    </script>
</head>
<body>
</body>
</html>