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:
parent
127facc607
commit
39fe6292a3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user