[OpenLayers-Commits] r11185 - in trunk/openlayers/lib/OpenLayers: . Control Format/CSWGetDomain Format/WFST Layer Renderer Tile/Image

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Feb 21 09:55:01 EST 2011


Author: fredj
Date: 2011-02-21 06:55:01 -0800 (Mon, 21 Feb 2011)
New Revision: 11185

Modified:
   trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js
   trunk/openlayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
   trunk/openlayers/lib/OpenLayers/Format/WFST/v1.js
   trunk/openlayers/lib/OpenLayers/Layer/Bing.js
   trunk/openlayers/lib/OpenLayers/Layer/Vector.js
   trunk/openlayers/lib/OpenLayers/Layer/WMS.js
   trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js
   trunk/openlayers/lib/OpenLayers/Map.js
   trunk/openlayers/lib/OpenLayers/Renderer/VML.js
   trunk/openlayers/lib/OpenLayers/Tile/Image/IFrame.js
   trunk/openlayers/lib/OpenLayers/Util.js
Log:
Add missing semicolon. Non functional change.

Modified: trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -316,7 +316,7 @@
                 
                 // create span
                 var labelSpan = document.createElement("span");
-                OpenLayers.Element.addClass(labelSpan, "labelSpan")
+                OpenLayers.Element.addClass(labelSpan, "labelSpan");
                 if (!baseLayer && !layer.inRange) {
                     labelSpan.style.color = "gray";
                 }

Modified: trunk/openlayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -133,7 +133,7 @@
             },
             "Value": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }
@@ -159,7 +159,7 @@
             },
             "MinValue": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }
@@ -168,7 +168,7 @@
             },
             "MaxValue": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }

Modified: trunk/openlayers/lib/OpenLayers/Format/WFST/v1.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Format/WFST/v1.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Format/WFST/v1.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -182,7 +182,7 @@
         if(value) {
             this.setAttributeNS(
                 node, this.namespaces["xsi"], "xsi:schemaLocation",  value
-            )
+            );
         }
         return OpenLayers.Format.XML.prototype.write.apply(this, [node]);
     },

Modified: trunk/openlayers/lib/OpenLayers/Layer/Bing.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Bing.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Layer/Bing.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -79,7 +79,7 @@
         options = OpenLayers.Util.applyDefaults({
             restrictedMinZoom: 1,
             sphericalMercator: true
-        }, options)
+        }, options);
         var name = options.name || "Bing " + (options.type || this.type);
         
         var newArgs = [name, null, options];

Modified: trunk/openlayers/lib/OpenLayers/Layer/Vector.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Vector.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Layer/Vector.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -779,7 +779,7 @@
         // don't try to draw the feature with the renderer if the layer is not 
         // drawn itself
         if (!this.drawn) {
-            return
+            return;
         }
         if (typeof style != "object") {
             if(!style && feature.state === OpenLayers.State.DELETE) {

Modified: trunk/openlayers/lib/OpenLayers/Layer/WMS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -256,7 +256,7 @@
         var projectionCode = this.projection.equals(mapProjection) ?
             this.projection.getCode() :
             mapProjection.getCode();
-        var value = (projectionCode == "none") ? null : projectionCode
+        var value = (projectionCode == "none") ? null : projectionCode;
         if (parseFloat(this.params.VERSION) >= 1.3) {
             this.params.CRS = value;
         } else {

Modified: trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -105,7 +105,7 @@
      */
     initializeZoomify: function( size ) {
 
-        var imageSize = size.clone()
+        var imageSize = size.clone();
         var tiles = new OpenLayers.Size(
             Math.ceil( imageSize.w / this.standardTileSize ),
             Math.ceil( imageSize.h / this.standardTileSize )
@@ -151,9 +151,9 @@
         OpenLayers.Layer.Grid.prototype.destroy.apply(this, arguments);
 
         // Remove from memory the Zoomify pyramid - is that enough?
-        this.tileCountUpToTier.length = 0
-        this.tierSizeInTiles.length = 0
-        this.tierImageSize.length = 0
+        this.tileCountUpToTier.length = 0;
+        this.tierSizeInTiles.length = 0;
+        this.tierImageSize.length = 0;
 
     },
 

Modified: trunk/openlayers/lib/OpenLayers/Map.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Map.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Map.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -1018,7 +1018,7 @@
         this.resetLayersZIndex();
 
         this.events.triggerEvent("removelayer", {layer: layer});
-        layer.events.triggerEvent("removed", {map: this, layer: layer})
+        layer.events.triggerEvent("removed", {map: this, layer: layer});
     },
 
     /**

Modified: trunk/openlayers/lib/OpenLayers/Renderer/VML.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/VML.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Renderer/VML.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -765,7 +765,7 @@
                 x = (comp.x / resolution - this.offset.x) | 0;
                 y = (comp.y / resolution - this.offset.y) | 0;
                 pathComp = " " + x + "," + y;
-                path.push(pathComp)
+                path.push(pathComp);
                 if (i==0) {
                     path.push(" l");
                 }

Modified: trunk/openlayers/lib/OpenLayers/Tile/Image/IFrame.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Tile/Image/IFrame.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Tile/Image/IFrame.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -42,7 +42,7 @@
                 delete iFrame;
             }
         } else {
-            OpenLayers.Tile.Image.prototype.clear.apply(this, arguments)
+            OpenLayers.Tile.Image.prototype.clear.apply(this, arguments);
         }
     },
 
@@ -221,4 +221,5 @@
 
         return form;
     }
-}
+};
+

Modified: trunk/openlayers/lib/OpenLayers/Util.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Util.js	2011-02-21 14:54:25 UTC (rev 11184)
+++ trunk/openlayers/lib/OpenLayers/Util.js	2011-02-21 14:55:01 UTC (rev 11185)
@@ -1038,7 +1038,7 @@
             }
             
             // follow OGC convention of comma delimited values
-            value = value.split(",")
+            value = value.split(",");
 
             //if there's only one value, do not return as array                    
             if (value.length == 1) {
@@ -1839,7 +1839,7 @@
     if (!dmsOption) {
         dmsOption = 'dms';    //default to show degree, minutes, seconds
     }
-    var abscoordinate = Math.abs(coordinate)
+    var abscoordinate = Math.abs(coordinate);
     var coordinatedegrees = Math.floor(abscoordinate);
 
     var coordinateminutes = (abscoordinate - coordinatedegrees)/(1/60);



More information about the Commits mailing list