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

[docs-0.13] Use babel for transforming #4675

Closed
wants to merge 2 commits into from

Conversation

zpao
Copy link
Member

@zpao zpao commented Aug 20, 2015

Squashed version of #4131 and then made sure we actually install babel. I did a quick spot check that the front page works.

We don't need to take this but if we're going to remove all references to JSXTransformer from our docs and land those changes back on stable docs, then perhaps we should do this too.

@zpao zpao changed the title [docs] Use babel for transforming [docs-0.13] Use babel for transforming Aug 20, 2015
@@ -8,34 +8,16 @@ var HelloMessage = React.createClass({\n\
React.render(<HelloMessage name=\"John\" />, mountNode);\
";

function transformer(harmony, code) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we just redirect this to the Babel REPL?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good idea

@zpao
Copy link
Member Author

zpao commented Sep 26, 2015

Just committed directly. Luckily it's a Friday night so if I broke anything, maybe nobody will notice…

@zpao zpao closed this Sep 26, 2015
@zpao zpao deleted the docs-babel-0.13 branch October 13, 2015 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants