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:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user