1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2024-11-23 14:34:54 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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