-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed the double call of the callback function
When reaching the last page the callback function is called twice. This fixes #53 Added a test but it’s a bit messy because it’s a negative test and I am not a javascript dev so I hope someone can refactor it in a more elegant way.
- Loading branch information
1 parent
b8875ab
commit d1a955c
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters