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

This is just until the bluebird warnings are coded out of existence. #11

Merged
merged 2 commits into from
Nov 6, 2015

Conversation

eapearson
Copy link
Collaborator

It ends up that bluebird appears to be build in develop mode, or at least the way we are including it. Perhaps the non-minified version is generated with debugging on. In any case, it uses the development settings, which includes emitting warnings. Configuring it early in the page load process (main.js) quiets it down. I'll look to see (a) how to ensure that we are including a production version and (b) whether it is easily switchable (because during development indeed it would be good to get these warnings.)
It is easy enough to switch that in our code via the Promise.config(), but there may be other implications of developer mode (but after a quick perusal I don't think so -- e.g. the library is not built differently).
So I think a kbase config for develop / production mode which is reflected in the bluebird settings but also could be handy for us as well.

briehl added a commit that referenced this pull request Nov 6, 2015
This is just until the bluebird warnings are coded out of existence.
@briehl briehl merged commit be398e1 into kbase:master Nov 6, 2015
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

2 participants