Fix coding style
This commit is contained in:
@@ -259,7 +259,9 @@ ol.format.WMSCapabilities.readLayer_ = function(node, objectStack) {
|
||||
var layerObject = /** @type {Object.<string,*>} */ (ol.xml.pushParseAndPop(
|
||||
{}, ol.format.WMSCapabilities.LAYER_PARSERS_, node, objectStack));
|
||||
|
||||
if (goog.isDef(layerObject)) {
|
||||
if (!goog.isDef(layerObject)) {
|
||||
return undefined;
|
||||
}
|
||||
var queryable =
|
||||
ol.format.XSD.readBooleanString(node.getAttribute('queryable'));
|
||||
if (!goog.isDef(queryable)) {
|
||||
@@ -324,7 +326,6 @@ ol.format.WMSCapabilities.readLayer_ = function(node, objectStack) {
|
||||
});
|
||||
|
||||
return layerObject;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user