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

Allow passing in an alternate scheduler function #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexlafroscia
Copy link

While trying to get nprogress to play nice with Ember.js, it became necessary to be able to provide an alternate scheduling function, since Ember needs to know about setTimeout code.

By default, the code works exactly the same, but if given a scheduler function in the configuration, it will use that instead. This allows Ember to provide it's own scheduling function, allowing the two to play nice together.

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.

None yet

1 participant