Skip to content

Handle braces in text. #45

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

Closed
wants to merge 4 commits into from
Closed

Conversation

solugebefola
Copy link
Contributor

This is a fix to handle braces written in the text. It simply surrounds them with {'..'} which is the same method by which braces are handled inside of pre tags. It was written in response to #42 . @Daniel15, I assume this is the sort of thing that will work?

@facebook-github-bot
Copy link

@solugebefola updated the pull request.

Allow for conversion to `module.exports` rather than `React.createClass` using option `e`.  Or no wrapper at all with option `g`
@facebook-github-bot
Copy link

@solugebefola updated the pull request.

`e` for `module.exports` wrapper and `g` for no wrapper, when grouping files.
@facebook-github-bot
Copy link

@solugebefola updated the pull request.

@@ -13,6 +13,10 @@ function getArgs() {
)
.describe('className', 'Create a React component (wraps JSX in React.createClass call)')
.alias('className', 'c')
.boolean('e')
.describe('e', 'Decide whether to wrap in module.exports')
Copy link
Member

Choose a reason for hiding this comment

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

This option seems useful, but it's not really relevant to this pull request. Could you please split it out into a separate one? I think because you created this pull request off your master branch, Github is including all the changes on your master branch. You should make a separate branch with just the changes you want to submit :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cheers, I resubmitted the braces change in a separate PR. The other changes are submitted as before. I was not sure how to break the second set of changes into it's own PR without dependence on the earlier commits, so I left it alone.

@Daniel15
Copy link
Member

Looks like this was resubmitted as #55

@Daniel15 Daniel15 closed this Apr 17, 2016
@ghost ghost added the CLA Signed label Jul 12, 2016
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.

3 participants