From 7be84a4468784601f749c2e9b4bd0c7849c09d9c Mon Sep 17 00:00:00 2001 From: brunob Date: Mon, 16 Jun 2014 21:26:40 +0200 Subject: [PATCH] cleanup of 35276664a87ec250badf06adf109077664c4a171 (jshint is not complaining about that with our config) --- layer/vector/KML.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/layer/vector/KML.js b/layer/vector/KML.js index 8efcf31..2a7839d 100644 --- a/layer/vector/KML.js +++ b/layer/vector/KML.js @@ -190,13 +190,8 @@ L.Util.extend(L.KML, { el = place.getElementsByTagName('styleUrl'); for (i = 0; i < el.length; i++) { var url = el[i].childNodes[0].nodeValue; - for (var a in style[url]) - { - // for jshint - if (true) - { - options[a] = style[url][a]; - } + for (var a in style[url]) { + options[a] = style[url][a]; } } var layers = [];