-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(): bind window as first param of getConfirmation
When `create***History` runs, `getUserConfirmation` defaults to the `getConfirmation` function, which expects the global `window` object as its first parameter. However, it is later invoked without passing `window`, probably because the signature for the user-defined flavor in `CreateBrowserHistoryOptions` does not expect `window` to be passed. The simple fix is to bind `window` to the default `getConfirmation` function as its first parameter.
- Loading branch information
Michael Speed Elder
committed
Dec 10, 2020
1 parent
228e1f3
commit 6de5c7b
Showing
4 changed files
with
31 additions
and
26 deletions.
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
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