@@ -128,11 +128,11 @@ ol.source.VectorFile.prototype.handleXhrIo_ = function(event) {
|
|||||||
goog.asserts.fail();
|
goog.asserts.fail();
|
||||||
}
|
}
|
||||||
goog.dispose(xhrIo);
|
goog.dispose(xhrIo);
|
||||||
if (goog.isDef(source)) {
|
if (goog.isDefAndNotNull(source)) {
|
||||||
this.readFeatures_(source);
|
this.readFeatures_(source);
|
||||||
} else {
|
} else {
|
||||||
goog.asserts.fail();
|
|
||||||
this.setState(ol.source.State.ERROR);
|
this.setState(ol.source.State.ERROR);
|
||||||
|
goog.asserts.fail();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.setState(ol.source.State.ERROR);
|
this.setState(ol.source.State.ERROR);
|
||||||
|
|||||||
Reference in New Issue
Block a user