Skip to content

RunKit example: simplify output#244

Merged
lencioni merged 1 commit into
Khan:masterfrom
pouwerkerk:master
Jan 31, 2018
Merged

RunKit example: simplify output#244
lencioni merged 1 commit into
Khan:masterfrom
pouwerkerk:master

Conversation

@pouwerkerk

@pouwerkerk pouwerkerk commented Jun 6, 2017

Copy link
Copy Markdown
Contributor

Collapse console.logs via a template literal so that the HTML with CSS is rendered in the RunKit result. RunKit behaves like a REPL so the last value is returned.

The existing RunKit example is great, so this just takes it slightly further so you can see how your browser would render the styles that Aphrodite generates.

You can see it in action here: https://runkit.com/pieter/aphrodite-runkit-example

Before

screen shot 2017-06-06 at 11 34 07 am

After

screen shot 2017-06-06 at 11 34 47 am

@khanbot

khanbot commented Jun 6, 2017

Copy link
Copy Markdown

Hey @pouwerkerk,

Thanks for the PR! Mind signing our Contributor License Agreement?

When you've done so, go ahead and comment [clabot:check] and I'll check again.

Yours truly,
khanbot

@pouwerkerk

Copy link
Copy Markdown
Contributor Author

[clabot:check]

@khanbot

khanbot commented Jun 6, 2017

Copy link
Copy Markdown

CLA signature looks good 👍

@lencioni

Copy link
Copy Markdown
Collaborator

This looks great to me. Thanks so much for the contribution!

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