Skip to content

Conversation

@ivan
Copy link
Contributor

@ivan ivan commented Dec 29, 2013

Working through the tutorial, I added some code above the

      /**
       * @jsx React.DOM
       */

declaration, and this resulted in a very unhelpful error message from JSXTransformer:

Uncaught SyntaxError: Unexpected token <
851547_221914424655081_22271_n.js:10217

Hopefully the comment will convince a few people to keep the declaration at the very beginning.

@petehunt
Copy link
Contributor

Can you sign our CLA at http://developers.facebook.com/opensource/cla and comment here when you've done it? Thanks!

@ivan
Copy link
Contributor Author

ivan commented Dec 29, 2013

Already signed as [email protected], github username ivan

petehunt added a commit that referenced this pull request Dec 29, 2013
Tell user to keep the @jsx declaration at the top of the script
@petehunt petehunt merged commit f5f464b into facebook:master Dec 29, 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.

2 participants