This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reset the "did-stop-changing" timeout for each buffer change
Instead, use a smarter debounce function that always waits for the existing timeout to fire and, if the buffer has changed in the meantime, schedules a new one.
- Loading branch information
Antonio Scandurra
committed
May 11, 2017
1 parent
68012ba
commit 4e55ddf
Showing
2 changed files
with
33 additions
and
15 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