quick lint before rc1, only some missing missing semi-colons.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6748 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -855,7 +855,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
var name = (child.prefix) ?
|
||||
child.nodeName.split(":")[1] :
|
||||
child.nodeName;
|
||||
var value = OpenLayers.Util.getXmlNodeValue(grandchild)
|
||||
var value = OpenLayers.Util.getXmlNodeValue(grandchild);
|
||||
if (value) {
|
||||
value = value.replace(this.regExes.trimSpace, "");
|
||||
attributes[name] = value;
|
||||
|
||||
@@ -320,7 +320,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
createFeatureNodes: function(feature) {
|
||||
var nodes = [];
|
||||
var className = feature.geometry.CLASS_NAME;
|
||||
var type = className.substring(className.lastIndexOf(".") + 1)
|
||||
var type = className.substring(className.lastIndexOf(".") + 1);
|
||||
type = type.toLowerCase();
|
||||
var builder = this.createXML[type];
|
||||
if (builder) {
|
||||
|
||||
@@ -477,7 +477,7 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
for(var prop in this.cssMap) {
|
||||
if(this.cssMap[prop] == sym) {
|
||||
css = prop;
|
||||
break
|
||||
break;
|
||||
}
|
||||
}
|
||||
return css;
|
||||
@@ -501,7 +501,7 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
for(var key in this.graphicFormats) {
|
||||
if(this.graphicFormats[key].test(href)) {
|
||||
format = key;
|
||||
break
|
||||
break;
|
||||
}
|
||||
}
|
||||
return format || this.defautlGraphicFormat;
|
||||
@@ -535,7 +535,7 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* {DOMElement} The root of an SLD document.
|
||||
*/
|
||||
write: function(sld) {
|
||||
return this.writers.sld.StyledLayerDescriptor.apply(this, [sld])
|
||||
return this.writers.sld.StyledLayerDescriptor.apply(this, [sld]);
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -781,7 +781,7 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
this.writeNode(
|
||||
node, "CssParameter",
|
||||
{symbolizer: symbolizer, key: "fillColor"}
|
||||
)
|
||||
);
|
||||
}
|
||||
if(symbolizer.fillOpacity) {
|
||||
this.writeNode(
|
||||
@@ -1141,7 +1141,7 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
// 2. in the prefix option
|
||||
// 3. in the qualified name
|
||||
// 4. from the defaultPrefix
|
||||
var uri = options.uri || this.namespaces[options.prefix]
|
||||
var uri = options.uri || this.namespaces[options.prefix];
|
||||
if(!uri) {
|
||||
loc = name.indexOf(":");
|
||||
uri = this.namespaces[name.substring(0, loc)];
|
||||
|
||||
@@ -293,7 +293,7 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Method: read_wmc_Format
|
||||
*/
|
||||
read_wmc_Format: function(layerInfo, node) {
|
||||
var format = this.getChildValue(node)
|
||||
var format = this.getChildValue(node);
|
||||
layerInfo.formats.push(format);
|
||||
if(node.getAttribute("current") == "1") {
|
||||
layerInfo.params.format = format;
|
||||
|
||||
Reference in New Issue
Block a user