From 9b3a78ed5ef1a538c39e34513afb67b88d103e7e Mon Sep 17 00:00:00 2001 From: tschaub Date: Thu, 1 Mar 2012 17:00:26 -0700 Subject: [PATCH] Fixing the build by adding missing var. An undeclared variable snuck in with 930206fb57381a303c440d4f60e5f0b87deb30b2. This breaks builds using closure compiler. Another reason to set up a CI server and a builds@ list. --- lib/OpenLayers/Format/KML.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Format/KML.js b/lib/OpenLayers/Format/KML.js index f76b4ff708..b814eece5a 100644 --- a/lib/OpenLayers/Format/KML.js +++ b/lib/OpenLayers/Format/KML.js @@ -1482,7 +1482,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, { */ buildExtendedData: function(attributes) { var extendedData = this.createElementNS(this.kmlns, "ExtendedData"); - for (attributeName in attributes) { + for (var attributeName in attributes) { // empty, name, description, styleUrl attributes ignored if (attributes[attributeName] && attributeName != "name" && attributeName != "description" && attributeName != "styleUrl") { var data = this.createElementNS(this.kmlns, "Data");