]> dev.renevier.net Git - syp.git/blob - openlayers/tests/Extras.html
improve wizard (hand editing of settings.php is no more needed)
[syp.git] / openlayers / tests / Extras.html
1 <html>
2 <head>
3   <script src="../lib/OpenLayers.js"></script>
4   <script type="text/javascript">
5
6     var map;
7     
8     // Ensure that we continue to work if silly Javascript frameworks
9     // extend object.
10     Object.prototype.foo = function() { }
11     function test_Events_Object_Extension(t) {
12         t.plan(1)
13         map = new OpenLayers.Map("map");
14         t.ok(true, "Map created if object prototype is extended.");
15     }
16   </script>
17 </head>
18 <body>
19     <div id="map" style="width: 600px; height: 300px;"/>
20 </body>
21 </html>