wavded/js-shapefile-to-geojson — pull request #11 by underbluewaters (2013-09-09 23:08:23+00:00)
Title: Add jsRoot constructor option

Workers were being constructed with a hardcoded path of
'shapefile.js'. The new jsRoot option can be used to
specify an alternate location. For example:

shapefile = new Shapefile({
shp: "testdata/world.shp",
dbf: "testdata/world.dbf",
jsRoot: '/js-shapefile-to-geojson/'
}, function(data) ...