Remove goog.isDef from formats

This commit is contained in:
Tim Schaub
2015-09-21 05:51:45 +09:00
parent 5350e9ba37
commit 1fceb4a709
11 changed files with 138 additions and 141 deletions

View File

@@ -223,7 +223,7 @@ ol.format.OSMXML.prototype.readFeaturesFromNode = function(node, opt_options) {
nodes: {},
features: []
}, ol.format.OSMXML.PARSERS_, node, [options]);
if (goog.isDef(state.features)) {
if (state.features) {
return state.features;
}
}