mirror of
https://github.com/wavded/js-shapefile-to-geojson
synced 2024-11-23 14:34:54 +00:00
Ensuring callback provided to Shapefile constructor is executed even if a dbf file is not provided
This commit is contained in:
parent
db9bfd55d8
commit
30d3272537
@ -85,7 +85,7 @@
|
|||||||
that.addDBFDataToGeoJSON(data)
|
that.addDBFDataToGeoJSON(data)
|
||||||
that._postMessage()
|
that._postMessage()
|
||||||
})
|
})
|
||||||
else this._postMessage
|
else this._postMessage()
|
||||||
}
|
}
|
||||||
|
|
||||||
Shapefile.prototype = {
|
Shapefile.prototype = {
|
||||||
|
Loading…
Reference in New Issue
Block a user