remove local scope variables from global namespace.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5028 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Paul Spencer
2007-10-19 18:34:00 +00:00
parent 4bafcddff1
commit 65d3947045
13 changed files with 19 additions and 19 deletions

View File

@@ -520,7 +520,7 @@ OpenLayers.Util.applyDefaults = function (to, from) {
* of being URL escaped (foo%3Abar).
*/
OpenLayers.Util.getParameterString = function(params) {
paramsArray = [];
var paramsArray = [];
for (var key in params) {
var value = params[key];
@@ -1070,8 +1070,8 @@ OpenLayers.Util.isEquivalentUrl = function(url1, url2, options) {
ignoreHash: true
});
urlObj1 = OpenLayers.Util.createUrlObject(url1, options);
urlObj2 = OpenLayers.Util.createUrlObject(url2, options);
var urlObj1 = OpenLayers.Util.createUrlObject(url1, options);
var urlObj2 = OpenLayers.Util.createUrlObject(url2, options);
//compare all keys (host, port, etc)
for(var key in urlObj1) {