diff options
author | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
commit | ea346a785dc1b3f7c156f6fc33da634e1f1a627b (patch) | |
tree | af67530553d20b6e82ad60fd79593e9c4abf5565 /misc/openlayers/tests/Extras.html | |
parent | 59741cd535c47f25971bf8c32b25da25ceadc6d5 (diff) | |
download | postrunner-ea346a785dc1b3f7c156f6fc33da634e1f1a627b.zip |
Adding jquery, flot and openlayers to be included with the GEM.v0.0.4
Diffstat (limited to 'misc/openlayers/tests/Extras.html')
-rw-r--r-- | misc/openlayers/tests/Extras.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/openlayers/tests/Extras.html b/misc/openlayers/tests/Extras.html new file mode 100644 index 0000000..264eb0f --- /dev/null +++ b/misc/openlayers/tests/Extras.html @@ -0,0 +1,21 @@ +<html> +<head> + <script src="OLLoader.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(true, "Map created if object prototype is extended."); + } + </script> +</head> +<body> + <div id="map" style="width: 600px; height: 300px;"/> +</body> +</html> |