Remove check for Prototype.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1600 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -101,13 +101,6 @@ if (typeof(_OPENLAYERS_SFL_) == "undefined") {
|
|||||||
var allScriptTags = "";
|
var allScriptTags = "";
|
||||||
var host = OpenLayers._getScriptLocation() + "lib/";
|
var host = OpenLayers._getScriptLocation() + "lib/";
|
||||||
|
|
||||||
// check to see if prototype.js was already loaded
|
|
||||||
// if so, skip the first dynamic include
|
|
||||||
//
|
|
||||||
var start=1;
|
|
||||||
try { x = Prototype; }
|
|
||||||
catch (e) { start=0; }
|
|
||||||
|
|
||||||
for (var i = start; i < jsfiles.length; i++) {
|
for (var i = start; i < jsfiles.length; i++) {
|
||||||
if (/MSIE/.test(navigator.userAgent)) {
|
if (/MSIE/.test(navigator.userAgent)) {
|
||||||
var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>";
|
var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>";
|
||||||
|
|||||||
Reference in New Issue
Block a user