1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2025-12-14 18:24:03 +00:00

updating shapefile.js .shp file for Safari compatibility

This commit is contained in:
Kelton Manzanares
2020-02-10 18:29:23 -06:00
committed by GitHub
parent 127facc607
commit 39fe6292a3

View File

@@ -69,7 +69,7 @@
var o = typeof o == "string" ? {shp: o} : o var o = typeof o == "string" ? {shp: o} : o
this.callback = callback this.callback = callback
if (!!o.shp.lastModifiedDate) if (!!(o.shp.lastModifiedDate || o.shp.lastModified))
this.handleFile(o); this.handleFile(o);
else else
this.handleUri(o); this.handleUri(o);