From 7ec146cbc412189cfa2af87376f75cec961cc390 Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Tue, 3 Mar 2020 13:59:50 +0000 Subject: [PATCH] Using self instead of this to preserve binding. (#769) --- papaparse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papaparse.js b/papaparse.js index 1757c11b..58ba296e 100755 --- a/papaparse.js +++ b/papaparse.js @@ -1115,7 +1115,7 @@ License: MIT } else { // Bugfix: #636 In case the processing hasn't halted yet // wait for it to halt in order to resume - setTimeout(this.resume, 3); + setTimeout(self.resume, 3); } };