Skip to content

Commit

Permalink
Using self instead of this to preserve binding. (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsharma27 authored Mar 3, 2020
1 parent 3497ded commit 7ec146c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papaparse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};

Expand Down

0 comments on commit 7ec146c

Please sign in to comment.