Browse Source

Using self instead of this to preserve binding. (#769)

pull/771/head
Varun Sharma 5 years ago committed by GitHub
parent
commit
7ec146cbc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      papaparse.js

2
papaparse.js

@ -1115,7 +1115,7 @@ License: MIT
} else { } else {
// Bugfix: #636 In case the processing hasn't halted yet // Bugfix: #636 In case the processing hasn't halted yet
// wait for it to halt in order to resume // wait for it to halt in order to resume
setTimeout(this.resume, 3); setTimeout(self.resume, 3);
} }
}; };

Loading…
Cancel
Save