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

Wrap clients injectNotice calls to make it editor-agnostic #622

Merged
merged 3 commits into from
Dec 1, 2016

Conversation

joshuafcole
Copy link
Contributor

Reported by @convolvatron, not all calls to ide.injectNotice were guarded to ensure that we were running in editor mode. Rather than voiding those messages (as we were in other places) we now shunt them to the console. In the long term we should display them in-browser, but it's an open question as to how to do that without destroying the user-content below. Likely routes include an error modal or an overlay shade.

@joshuafcole
Copy link
Contributor Author

fixes #606

Copy link
Contributor

@ibdknox ibdknox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ibdknox ibdknox merged commit ab4032b into witheve:master Dec 1, 2016
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.

3 participants