Skip to content

Conversation

alexlafroscia
Copy link
Contributor

To get nprogress to play nicely with the run loop, nprogress shouldn't use window.setTimeout. However, it does not provide any way to do that...

... until now! I forked nprogress and added support for a custom scheduler function; the PR for that can be found here. I have no idea if, or when, that is going to be accepted, so for the time being I added my fork as a dependency of the project. Considering the lack of movement on the PRs that are already open on that repo, it may be a long time, but if it's ever closed then I'll update the Bower version in this addon, too.

@alexlafroscia alexlafroscia force-pushed the better-runloop-integration branch from b0d2de7 to b77fd50 Compare December 3, 2016 01:46
@alexlafroscia alexlafroscia force-pushed the better-runloop-integration branch from b77fd50 to 20d68b8 Compare December 3, 2016 01:55
@smashweaver smashweaver merged commit 67b7463 into smashweaver:master Dec 3, 2016
@alexlafroscia alexlafroscia deleted the better-runloop-integration branch December 3, 2016 22:41
@smashweaver
Copy link
Owner

@alexlafroscia : thanks for these awesome patches.

@alexlafroscia
Copy link
Contributor Author

You're welcome!

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.

2 participants