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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user