From 836c048b37512af7e26f4210dd216175b0381951 Mon Sep 17 00:00:00 2001 From: Denis Borzenko Date: Thu, 26 Aug 2021 21:18:58 +0300 Subject: [PATCH] Fix error: "ReferenceError: { exifData, offsets } is not defined" Close #83 --- lib/exif/ExifImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exif/ExifImage.js b/lib/exif/ExifImage.js index 247953b..ff9623c 100644 --- a/lib/exif/ExifImage.js +++ b/lib/exif/ExifImage.js @@ -97,7 +97,7 @@ function ExifImage (options, callback) { this.offsets={}; if (ops.tiffOffsets) { - exifData.offsets=offsets; + this.exifData.offsets=this.offsets; } debug("New ExifImage options=",options);