diff --git a/examples/cql-format.js b/examples/cql-format.js index 2119b1aaa2..9b4a21072d 100644 --- a/examples/cql-format.js +++ b/examples/cql-format.js @@ -37,7 +37,7 @@ var map = new OpenLayers.Map({ function loadFeatures(data) { var features = new OpenLayers.Format.GeoJSON().read(data); states.addFeatures(features); -}; +} // update filter and redraw when form is submitted var cql = document.getElementById("cql"); diff --git a/examples/filter-strategy.js b/examples/filter-strategy.js index cacdf8daa6..da5656a1f4 100644 --- a/examples/filter-strategy.js +++ b/examples/filter-strategy.js @@ -20,7 +20,7 @@ function startAnimation() { filter.lowerBoundary = currentDate; filter.upperBoundary = new Date(currentDate.getTime() + (span * 1000)); filterStrategy.setFilter(filter); - currentDate = new Date(currentDate.getTime() + (step * 1000)) + currentDate = new Date(currentDate.getTime() + (step * 1000)); } else { stopAnimation(true); } diff --git a/lib/OpenLayers/Animation.js b/lib/OpenLayers/Animation.js index 17ecf6797b..ed9b62b608 100644 --- a/lib/OpenLayers/Animation.js +++ b/lib/OpenLayers/Animation.js @@ -82,7 +82,7 @@ OpenLayers.Animation = (function(window) { } else { delete loops[id]; } - } + }; requestFrame(loops[id], element); return id; } diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index 29fefeb5b2..49c91547f2 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -356,7 +356,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, { this.minimizeControl(); } else if (evt.buttonElement === this.maximizeDiv) { this.maximizeControl(); - }; + } }, /** diff --git a/lib/OpenLayers/Format/CQL.js b/lib/OpenLayers/Format/CQL.js index b1dce2b1b3..31d292d115 100644 --- a/lib/OpenLayers/Format/CQL.js +++ b/lib/OpenLayers/Format/CQL.js @@ -345,7 +345,7 @@ OpenLayers.Format.CQL = (function() { var result = buildAst(tokenize(text)); if (this.keepData) { this.data = result; - }; + } return result; }, diff --git a/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js b/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js index 269a291446..a13b257dba 100644 --- a/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js +++ b/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js @@ -147,7 +147,7 @@ OpenLayers.Format.SOSCapabilities.v1_0_0 = OpenLayers.Class( offering.resultModels.push(this.getChildValue(node)); }, "responseMode": function(node, offering) { - offering.responseModes.push(this.getChildValue(node));; + offering.responseModes.push(this.getChildValue(node)); } }, "ows": OpenLayers.Format.OWSCommon.v1_1_0.prototype.readers["ows"] diff --git a/lib/OpenLayers/Format/WMC/v1.js b/lib/OpenLayers/Format/WMC/v1.js index ccdbe56c6d..fcaa0ae484 100644 --- a/lib/OpenLayers/Format/WMC/v1.js +++ b/lib/OpenLayers/Format/WMC/v1.js @@ -1044,7 +1044,7 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, { version: server.version }; if (server.title) { - attributes.title = server.title + attributes.title = server.title; } this.setAttributes(node, attributes); diff --git a/lib/OpenLayers/Format/WMSGetFeatureInfo.js b/lib/OpenLayers/Format/WMSGetFeatureInfo.js index 30c00b0d7d..e4614a37ce 100644 --- a/lib/OpenLayers/Format/WMSGetFeatureInfo.js +++ b/lib/OpenLayers/Format/WMSGetFeatureInfo.js @@ -248,7 +248,7 @@ OpenLayers.Format.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Format.XML, { var name = (child.prefix) ? child.nodeName.split(":")[1] : child.nodeName; if (grandchildren.length == 0) { - attributes[name] = null + attributes[name] = null; } else if (grandchildren.length == 1) { var grandchild = grandchildren[0]; if (grandchild.nodeType == 3 || diff --git a/lib/OpenLayers/Handler/Path.js b/lib/OpenLayers/Handler/Path.js index 57d112b2a0..8a61f6ac84 100644 --- a/lib/OpenLayers/Handler/Path.js +++ b/lib/OpenLayers/Handler/Path.js @@ -447,7 +447,7 @@ OpenLayers.Handler.Path = OpenLayers.Class(OpenLayers.Handler.Point, { } if(this.maxVertices && this.line && this.line.geometry.components.length === this.maxVertices) { - this.removePoint() + this.removePoint(); this.finalize(); } else { this.addPoint(evt.xy); diff --git a/lib/OpenLayers/Layer/FixedZoomLevels.js b/lib/OpenLayers/Layer/FixedZoomLevels.js index ec75499e5f..a8ebb2f27c 100644 --- a/lib/OpenLayers/Layer/FixedZoomLevels.js +++ b/lib/OpenLayers/Layer/FixedZoomLevels.js @@ -284,7 +284,7 @@ OpenLayers.Layer.FixedZoomLevels = OpenLayers.Class({ if (this.map.baseLayer !== this) { zoom = this.map.baseLayer.getZoomForResolution( this.getResolutionForZoom(zoom) - ) + ); } } return zoom; diff --git a/lib/OpenLayers/Layer/Zoomify.js b/lib/OpenLayers/Layer/Zoomify.js index 722ea3e471..8036ccb6cb 100644 --- a/lib/OpenLayers/Layer/Zoomify.js +++ b/lib/OpenLayers/Layer/Zoomify.js @@ -227,10 +227,10 @@ OpenLayers.Layer.Zoomify = OpenLayers.Class(OpenLayers.Layer.Grid, { var h = this.standardTileSize; if (x == this.tierSizeInTiles[z].w -1 ) { var w = this.tierImageSize[z].w % this.standardTileSize; - }; + } if (y == this.tierSizeInTiles[z].h -1 ) { var h = this.tierImageSize[z].h % this.standardTileSize; - }; + } return (new OpenLayers.Size(w, h)); } else { return this.tileSize; diff --git a/lib/OpenLayers/Protocol/HTTP.js b/lib/OpenLayers/Protocol/HTTP.js index d5c822c7d2..3d613b5841 100644 --- a/lib/OpenLayers/Protocol/HTTP.js +++ b/lib/OpenLayers/Protocol/HTTP.js @@ -132,7 +132,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, { }); this.filterToParams = function(filter, params) { return format.write(filter, params); - } + }; } }, diff --git a/lib/OpenLayers/Renderer/Elements.js b/lib/OpenLayers/Renderer/Elements.js index 68c4671332..eff1223e0d 100644 --- a/lib/OpenLayers/Renderer/Elements.js +++ b/lib/OpenLayers/Renderer/Elements.js @@ -570,7 +570,7 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, { geometry.components[i], style, featureId) && rendered; } return rendered; - }; + } rendered = false; var removeBackground = false;