Fixing the build by adding missing var.
An undeclared variable snuck in with 930206fb57. This breaks builds using closure compiler. Another reason to set up a CI server and a builds@ list.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user