Skip to content

Conversation

@therewasaguy
Copy link
Member

  • a basic, non-interactive Console component
  • previewFrame injects a script into the iframe that uses postMessage to send errors and console messages. It catches referenceErrors with window.onError. It doesn't catch syntax errors (seems like these are already caught with linting?)

}

// assign styles to different types of console messages
.log {
Copy link
Member

Choose a reason for hiding this comment

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

for this project I'm using BEM naming convention, so these class names should be .preview-console__log, .preview-console__warn, and .preview-console__error. Let's also make these colors the same as the linting error colors, #ffbe05 and #ff5f52. all of the other styling is fine for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds good! I'll fix that

@therewasaguy
Copy link
Member Author

updated with BEM style

@catarak catarak merged commit 0c7f713 into processing:development Jul 21, 2016
raclim added a commit that referenced this pull request Oct 3, 2025
…attempt

pr05 Typescript Migration #13: Migrate the User Model (& API Key schema)
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.

2 participants