Fix small oddities from r5002. Odd character in ND for pagePosition() and /** **/ style comment in function getParameters(). Our style up until now has been to use // for comments when mixed with code. This allows for easier disabling of large chunks of code using /** **/ for debugging.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -791,7 +791,7 @@ OpenLayers.Util.distVincenty=function(p1, p2) {
|
|||||||
* {Object} An object of key/value pairs from the query string.
|
* {Object} An object of key/value pairs from the query string.
|
||||||
*/
|
*/
|
||||||
OpenLayers.Util.getParameters = function(url) {
|
OpenLayers.Util.getParameters = function(url) {
|
||||||
/* if no url specified, take it from the location bar */
|
// if no url specified, take it from the location bar
|
||||||
url = url || window.location.href;
|
url = url || window.location.href;
|
||||||
if (url == null) {
|
if (url == null) {
|
||||||
url = window.location.href;
|
url = window.location.href;
|
||||||
@@ -988,7 +988,7 @@ OpenLayers.Util.safeStopPropagation = function(evt) {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* forElement - {DOMElement}
|
* forElement - {DOMElement}
|
||||||
*
|
*
|
||||||
* Returns:´
|
* Returns:
|
||||||
* {Array} two item array, L value then T value.
|
* {Array} two item array, L value then T value.
|
||||||
*/
|
*/
|
||||||
OpenLayers.Util.pagePosition = function(forElement) {
|
OpenLayers.Util.pagePosition = function(forElement) {
|
||||||
|
|||||||
Reference in New Issue
Block a user