Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression with preserving this context #16

Merged
merged 6 commits into from
Jan 22, 2021

Conversation

darcyparker
Copy link
Contributor

darcyparker added a commit to darcyparker/p-throttle that referenced this pull request Jan 20, 2021
* This is to protect against a mistake like
  sindresorhus/p-debounce#12 (comment)
* Similar to sindresorhus/p-debounce#16, but for
  pThrottle.
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
* This reverts sindresorhus#12
* And it addresses same problem with pDebounce.promise() implementation
  added in sindresorhus#13
test.js Outdated Show resolved Hide resolved
@sindresorhus sindresorhus changed the title Revert pull request 12 Fix regression with preserving this context Jan 22, 2021
@sindresorhus sindresorhus merged commit cfed83c into sindresorhus:master Jan 22, 2021
@sindresorhus
Copy link
Owner

Thanks for fixing this :)

@darcyparker darcyparker deleted the revertPull12 branch January 22, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants