diff --git a/shapefile.js b/shapefile.js index 0c999ab..b24a3f4 100644 --- a/shapefile.js +++ b/shapefile.js @@ -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);