From 75f2e1f84772af08e61c4140c21b9ecf445d23e9 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 21 Aug 2012 14:00:48 +0200 Subject: [PATCH] Addressing @bartdve's review comments. --- lib/OpenLayers/Layer/Grid.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 5e1fce90fd..fcb2b42e64 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -605,8 +605,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { /** * Method: getServerResolution - * Return the closest server-supported resolution. Throw an - * exception if none is found in the serverResolutions array. + * Return the closest server-supported resolution. * * Parameters: * resolution - {Number} The base resolution. If undefined the @@ -1193,7 +1192,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { * Parameters: * prepend - {Boolean} if true, prepend to beginning. * if false, then append to end - * tileSize - {} rendered tile size + * tileSize - {Object} rendered tile size; object with w and h properties */ shiftRow:function(prepend, tileSize) { var modelRowIndex = (prepend) ? 0 : (this.grid.length - 1); @@ -1229,7 +1228,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { * Parameters: * prepend - {Boolean} if true, prepend to beginning. * if false, then append to end - * tileSize - {} rendered tile size + * tileSize - {Object} rendered tile size; object with w and h properties */ shiftColumn: function(prepend, tileSize) { var sign = prepend ? -1 : 1;