Skip to content

Allow passing in an alternate scheduler function#161

Open
alexlafroscia wants to merge 1 commit intorstacruz:masterfrom
alexlafroscia:allow-alternate-scheduler
Open

Allow passing in an alternate scheduler function#161
alexlafroscia wants to merge 1 commit intorstacruz:masterfrom
alexlafroscia:allow-alternate-scheduler

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.

1 participant