We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the Bug
Due to the bug in min-dash (bpmn-io/min-dash#10) when an async function is passed as the second argument to EventBus.prototype.on (https://github.com/bpmn-io/diagram-js/blob/master/lib/core/EventBus.js#L124) it throws new Error('priority must be a number').
min-dash
new Error('priority must be a number')
Steps to Reproduce
eventBus.on('foo', async function() {});
Throws: Error: Uncaught [Error: priority must be a number]
Error: Uncaught [Error: priority must be a number]
Expected Behavior
It doesn't throw.
Environment
Please complete the following information:
The text was updated successfully, but these errors were encountered:
This will be fixed with next min-dash release and update.
Sorry, something went wrong.
1fa7521
chore(project): bump min-dash version
7387a44
Related to bpmn-io/diagram-js#329
No branches or pull requests
Describe the Bug
Due to the bug in
min-dash
(bpmn-io/min-dash#10) when an async function is passed as the second argument to EventBus.prototype.on (https://github.com/bpmn-io/diagram-js/blob/master/lib/core/EventBus.js#L124) it throwsnew Error('priority must be a number')
.Steps to Reproduce
Throws:
Error: Uncaught [Error: priority must be a number]
Expected Behavior
It doesn't throw.
Environment
Please complete the following information:
The text was updated successfully, but these errors were encountered: