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

Display errors when evaluating or running dweets #138

Merged
merged 2 commits into from
Feb 28, 2017

Conversation

EpicOrange
Copy link
Collaborator

Now you don't have to open dev console to see errors! (Addresses #77.)

The error div is contained inside the dweet iframe, so the iframe now has both a canvas and a div. Dweet code can potentially select and modify the div but this shouldn't be harmful.

Demo:
demo

@tbroadley
Copy link
Collaborator

Nice! I'd suggest making the error message's font the same as the font used in the rest of the app.

Copy link
Owner

@lionleaf lionleaf left a comment

Choose a reason for hiding this comment

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

Great! Thanks 👍

@lionleaf lionleaf merged commit 34074aa into lionleaf:master Feb 28, 2017
@sigvef
Copy link
Collaborator

sigvef commented Feb 28, 2017

Cool stuff! I just ran into this dweet which has apparently relied on secretly crashing a little, and now it has a big red error! I wonder how many old dweets are affected by this ^^

image

https://www.dwitter.net/d/1521

@EpicOrange
Copy link
Collaborator Author

Thanks! Addressed this in #159.

@lionleaf lionleaf mentioned this pull request Mar 5, 2017
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.

4 participants