remove global variables. r=ahocevar (closes #2620)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10286 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2010-05-06 07:58:12 +00:00
parent 57d3f26efc
commit 3b0cd09aad
2 changed files with 3 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ OpenLayers.Format.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Format.XML, {
var attributes = {};
if (node.nodeType == 1) {
var children = node.childNodes;
n = children.length;
var n = children.length;
for (var i = 0; i < n; ++i) {
var child = children[i];
if (child.nodeType == 1) {