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

feat(parser): support JSX syntax. #60

Merged
merged 3 commits into from
Mar 13, 2016
Merged

feat(parser): support JSX syntax. #60

merged 3 commits into from
Mar 13, 2016

Conversation

ama-ch
Copy link
Collaborator

@ama-ch ama-ch commented Mar 13, 2016

No description provided.

@ama-ch
Copy link
Collaborator Author

ama-ch commented Mar 13, 2016

@teppeis Here's support of JSX syntax. Could you review this?

@@ -3,7 +3,7 @@
var parse = require('espree').parse;
var doctrine = require('doctrine');
var _ = require('underscore');
var traverse = require('estraverse').traverse;
var traverse = require('estraverse-fb').traverse;
var Syntax = require('estraverse').Syntax;
Copy link
Owner

Choose a reason for hiding this comment

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

Use require('estraverse-fb').Syntax to ensure it's JSX-injected Syntax.
Fix lib/visitor.js too.

Copy link
Owner

Choose a reason for hiding this comment

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

Fixed 6485414

teppeis added a commit that referenced this pull request Mar 13, 2016
feat(parser): support JSX syntax.
@teppeis teppeis merged commit f8febc2 into master Mar 13, 2016
@teppeis teppeis deleted the jsx branch March 13, 2016 07:55
@teppeis
Copy link
Owner

teppeis commented Mar 13, 2016

LGTM!

@teppeis
Copy link
Owner

teppeis commented Mar 13, 2016

I'll publish a new version.

@teppeis
Copy link
Owner

teppeis commented Mar 13, 2016

v1.5.0 is released! 🚀

@ama-ch
Copy link
Collaborator Author

ama-ch commented Mar 13, 2016

Thank you for fixing 😋

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