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
The commit 17ac00d introduced a static method to retrieve the bar colors. Calling a static method from the constructor fails with a TypeError. See https://stackoverflow.com/questions/37002804/calling-static-method-from-constructor-es6 for explanation. Line 25 of celery_progress.js must be changed from:
this.barColors = Object.assign({}, getBarColorsDefault(), options.barColors);
to:
this.barColors = Object.assign({}, this.constructor.getBarColorsDefault(), options.barColors);
It's just a little change, should I make a pull request for this?
Whitie
The text was updated successfully, but these errors were encountered:
Eep, sorry about that! A PR would be great!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The commit 17ac00d introduced a static method to retrieve the bar colors. Calling a static method from the constructor fails with a TypeError. See https://stackoverflow.com/questions/37002804/calling-static-method-from-constructor-es6 for explanation.
Line 25 of celery_progress.js must be changed from:
to:
It's just a little change, should I make a pull request for this?
Whitie
The text was updated successfully, but these errors were encountered: