Safari is a bit pickier on syntax than other browsers. These two errors
were breaking Safari... but no longer! git-svn-id: http://svn.openlayers.org/trunk/openlayers@1576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -331,7 +331,7 @@ OpenLayers.Layer.prototype = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.resolutions.sort( function ascend(a,b) {
|
this.resolutions.sort( function(a,b) {
|
||||||
return(b-a);
|
return(b-a);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ OpenLayers.Layer.MapServer.prototype =
|
|||||||
/** @final @type hash */
|
/** @final @type hash */
|
||||||
DEFAULT_PARAMS: {
|
DEFAULT_PARAMS: {
|
||||||
mode: "map",
|
mode: "map",
|
||||||
map_imagetype: "png",
|
map_imagetype: "png"
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user