From 1d7c74cff9c3a0deead74f7c8c2013465b0a50de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sun, 16 Oct 2011 15:50:16 +0200 Subject: [PATCH 1/2] remove unused local variable in BackBufferable:draw, no functional change --- lib/OpenLayers/Tile/BackBufferable.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/OpenLayers/Tile/BackBufferable.js b/lib/OpenLayers/Tile/BackBufferable.js index 689d7386d5..47c3e3198c 100644 --- a/lib/OpenLayers/Tile/BackBufferable.js +++ b/lib/OpenLayers/Tile/BackBufferable.js @@ -62,8 +62,7 @@ OpenLayers.Tile.BackBufferable = OpenLayers.Class(OpenLayers.Tile, { * {Boolean} Was a tile drawn? */ draw: function() { - var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments), - backBufferMode = this.backBufferMode; + var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments); if (draw) { this.updateBackBuffer(); } From 93ed63e23dcd36f4a6b6e277d2c5c9fdf191f20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sun, 16 Oct 2011 15:51:10 +0200 Subject: [PATCH 2/2] a better tile for the OSM example page, no functional change --- examples/osm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osm.html b/examples/osm.html index 519c396ba7..e6458f1c6a 100644 --- a/examples/osm.html +++ b/examples/osm.html @@ -4,7 +4,7 @@ - OpenLayers Basic Single WMS Example + OpenLayers Basic OSM Example