Fix coding style

This commit is contained in:
Frederic Junod
2014-03-10 17:22:35 +01:00
parent 2fdae368c2
commit 924ecba95c

View File

@@ -259,7 +259,9 @@ ol.format.WMSCapabilities.readLayer_ = function(node, objectStack) {
var layerObject = /** @type {Object.<string,*>} */ (ol.xml.pushParseAndPop( var layerObject = /** @type {Object.<string,*>} */ (ol.xml.pushParseAndPop(
{}, ol.format.WMSCapabilities.LAYER_PARSERS_, node, objectStack)); {}, ol.format.WMSCapabilities.LAYER_PARSERS_, node, objectStack));
if (goog.isDef(layerObject)) { if (!goog.isDef(layerObject)) {
return undefined;
}
var queryable = var queryable =
ol.format.XSD.readBooleanString(node.getAttribute('queryable')); ol.format.XSD.readBooleanString(node.getAttribute('queryable'));
if (!goog.isDef(queryable)) { if (!goog.isDef(queryable)) {
@@ -324,7 +326,6 @@ ol.format.WMSCapabilities.readLayer_ = function(node, objectStack) {
}); });
return layerObject; return layerObject;
}
}; };