mapbox / dbf

dbf writer
BSD 2-Clause "Simplified" License
37 stars 56 forks source link

Update structure.js #31

Closed iofirag closed 1 year ago

iofirag commented 6 years ago

i'm get the error 'offset' is not defined because i use strict mode. so the fix for this kind of issue is to change

in dbf/src/structure.js

(line number 58) from:

offset = fieldDescLength + 32;

to:

var offset = fieldDescLength + 32;

sheindel commented 1 year ago

This has now been fixed in https://github.com/mapbox/dbf/pull/24

Thanks!