From 3e9015879caa5212ea6ff36122e67240a470eb24 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 19 Oct 2011 15:05:19 -0600 Subject: [PATCH 1/3] Correcting typos in comments, no functional change (closes #15). --- lib/OpenLayers/Control/ArgParser.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/OpenLayers/Control/ArgParser.js b/lib/OpenLayers/Control/ArgParser.js index 170edd299f..bb1b12eb86 100644 --- a/lib/OpenLayers/Control/ArgParser.js +++ b/lib/OpenLayers/Control/ArgParser.js @@ -10,7 +10,7 @@ /** * Class: OpenLayers.Control.ArgParser - * The ArgParser control adds location bar querystring parsing functionality + * The ArgParser control adds location bar query string parsing functionality * to an OpenLayers Map. * When added to a Map control, on a page load/refresh, the Map will * automatically take the href string and parse it for lon, lat, zoom, and @@ -43,7 +43,6 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, { * APIProperty: displayProjection * {} Requires proj4js support. * Projection used when reading the coordinates from the URL. This will - * * reproject the map coordinates from the URL into the map's * projection. * @@ -68,10 +67,10 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, { url = url || window.location.href; var parameters = OpenLayers.Util.getParameters(url); - // If we have an chchor in the url use it to split the url + // If we have an anchor in the url use it to split the url var index = url.indexOf('#'); if (index > 0) { - // create an url to parce on the getParameters + // create an url to parse on the getParameters url = '?' + url.substring(index + 1, url.length); OpenLayers.Util.extend(parameters, From 0944be7b2818580bfb1a6e9f3d2d8959b9e3f515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Thu, 20 Oct 2011 10:40:44 +0300 Subject: [PATCH 2/3] Fix comment, no functional change --- lib/OpenLayers/Lang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Lang.js b/lib/OpenLayers/Lang.js index 82230e0bb8..38fd225f38 100644 --- a/lib/OpenLayers/Lang.js +++ b/lib/OpenLayers/Lang.js @@ -49,7 +49,7 @@ OpenLayers.Lang = { * Set the language code for string translation. This code is used by * the method. * - * Parameters- + * Parameters: * code - {String} These codes follow the IETF recommendations at * http://www.ietf.org/rfc/rfc3066.txt. If no value is set, the * browser's language setting will be tested. If no From e223eef159c7d31fc568311ef51d9b4f287753b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Thu, 20 Oct 2011 11:14:21 +0300 Subject: [PATCH 3/3] Fix comment, no functional change --- lib/OpenLayers/Layer/Vector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/Vector.js b/lib/OpenLayers/Layer/Vector.js index adaac4c297..7d89b539bc 100644 --- a/lib/OpenLayers/Layer/Vector.js +++ b/lib/OpenLayers/Layer/Vector.js @@ -949,7 +949,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, { * Does nothing by default. Override this if you * need to do something on feature updates. * - * Paarameters: + * Parameters: * feature - {} */ onFeatureInsert: function(feature) {