From 6d798a848defc2842933b0ace48f2d7350637de0 Mon Sep 17 00:00:00 2001 From: "james.cryer" Date: Thu, 10 May 2018 15:17:41 +0100 Subject: [PATCH] Fixes issue where PhantomJS fails to parse the file --- resemble.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resemble.js b/resemble.js index 4b3a97a..a3a71e3 100644 --- a/resemble.js +++ b/resemble.js @@ -986,8 +986,8 @@ URL: https://github.com/Huddle/Resemble.js } resemble.compare = function(image1, image2, options, cb) { - let callback; - let opt; + var callback; + var opt; if (typeof options === "function") { callback = options;