8000 Using self instead of this to preserve binding. (#769) · mholt/PapaParse@7ec146c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ec146c

Browse files
Using self instead of this to preserve binding. (#769)
1 parent 3497ded commit 7ec146c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

papaparse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ License: MIT
11151115
} else {
11161116
// Bugfix: #636 In case the processing hasn't halted yet
11171117
// wait for it to halt in order to resume
1118-
setTimeout(this.resume, 3);
1118+
setTimeout(self.resume, 3);
11191119
}
11201120
};
11211121

0 commit comments

Comments
 (0)
0