|
Revision 7600, 0.5 kB
(checked in by euzuro, 4 months ago)
|
small test fix to properly display message
|
| Line | |
|---|
| 1 |
<html> |
|---|
| 2 |
<head> |
|---|
| 3 |
<script src="../lib/OpenLayers.js"></script> |
|---|
| 4 |
<script type="text/javascript"> |
|---|
| 5 |
|
|---|
| 6 |
var map; |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 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> |
|---|