Skip to content

Conversation

yungsters
Copy link
Contributor

screen shot 2013-05-30 at 9 50 33 am

I link to this tool from the JSX Syntax documentation.

eval(this.getDesugaredCode());
if (this.props.renderCode) {
React.renderComponent(
React.DOM.pre(null, this.getDesugaredCode()),
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason for not using <pre>?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I don't know what I was thinking. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

You've been reading Twitter too much :P

yungsters added a commit that referenced this pull request May 30, 2013
@yungsters yungsters merged commit ce2d799 into facebook:master May 30, 2013
@zpao
Copy link
Member

zpao commented May 30, 2013

👍

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