Finish pullups for RC2.
#1498 Easily turning off/overriding default select and temporary intent styles #1501 GeoRSS format tests fail in Safari #1502 Events register method fails if listeners member is not an array #1503 panning off for odd-sized viewport #1504 doc review git-svn-id: http://svn.openlayers.org/branches/openlayers/2.6@6835 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
21
tests/Extras.html
Normal file
21
tests/Extras.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var map;
|
||||
|
||||
// Ensure that we continue to work if silly Javascript frameworks
|
||||
// extend object.
|
||||
Object.prototype.foo = function() { }
|
||||
function test_Events_Object_Extension(t) {
|
||||
t.plan(1)
|
||||
map = new OpenLayers.Map("map");
|
||||
t.ok("Map created if object prototype is extended.");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map" style="width: 600px; height: 300px;"/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user