Remove not needed document.getElementById in test.
This commit is contained in:
@@ -5,8 +5,6 @@
|
|||||||
function test_OpenLayers(t) {
|
function test_OpenLayers(t) {
|
||||||
t.plan(3);
|
t.plan(3);
|
||||||
|
|
||||||
var script = document.getElementById("script");
|
|
||||||
|
|
||||||
t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
|
t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
|
||||||
|
|
||||||
t.ok(OpenLayers.ImgPath !== undefined, "An ImgPath property exists.");
|
t.ok(OpenLayers.ImgPath !== undefined, "An ImgPath property exists.");
|
||||||
|
|||||||
Reference in New Issue
Block a user