More cleanups. These are unneccesary.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1376 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -108,8 +108,6 @@ if (typeof(_OPENLAYERS_SFL_) == "undefined") {
|
|||||||
catch (e) { start=0; }
|
catch (e) { start=0; }
|
||||||
|
|
||||||
for (var i = start; i < jsfiles.length; i++) {
|
for (var i = start; i < jsfiles.length; i++) {
|
||||||
var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>";
|
|
||||||
allScriptTags += currentScriptTag;
|
|
||||||
var currentScriptElem = document.createElement('script');
|
var currentScriptElem = document.createElement('script');
|
||||||
currentScriptElem.type = 'text/javascript';
|
currentScriptElem.type = 'text/javascript';
|
||||||
currentScriptElem.src = host + jsfiles[i];
|
currentScriptElem.src = host + jsfiles[i];
|
||||||
@@ -117,6 +115,5 @@ if (typeof(_OPENLAYERS_SFL_) == "undefined") {
|
|||||||
document.getElementsByTagName("head")[0].appendChild(currentScriptElem);
|
document.getElementsByTagName("head")[0].appendChild(currentScriptElem);
|
||||||
|
|
||||||
}
|
}
|
||||||
document.write(allScriptTags);
|
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user