Correcting typos in comments, no functional change (closes #15).
This commit is contained in:
@@ -43,7 +43,6 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
|
||||
* APIProperty: displayProjection
|
||||
* {<OpenLayers.Projection>} 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,
|
||||
|
||||
Reference in New Issue
Block a user