Sha256: f710a2b85de970523d21628e469481b6d5324e4b788657179c800bdc12630afd

Contents?: true

Size: 594 Bytes

Versions: 12

Compression:

Stored size: 594 Bytes

Contents

<html>
<head>
    <script src="bogus/1/OpenLayers.js-foo"></script>
    <script src="bogus/2/foo-OpenLayers.js"></script>
    <script src="../lib/OpenLayers.js?foo"></script>
    <script src="bogus/3/after-OpenLayers.js"></script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(1);

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

            t.eq(OpenLayers._getScriptLocation(), "../", "Script location with search string correctly detected, and not fooled by other scripts.");
        }
    </script>
</head>
<body>
</body>
</html>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.9 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.8 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.7 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.6 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.5 misc/openlayers/tests/OpenLayers2.html
postrunner-0.0.4 misc/openlayers/tests/OpenLayers2.html
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/tests/OpenLayers2.html
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/tests/OpenLayers2.html
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/tests/OpenLayers2.html
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/tests/OpenLayers2.html
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/tests/OpenLayers2.html