Skip to content

Conversation

@rmosolgo
Copy link
Member

Simplifying the JSX module and providing the feature from #239

  • Use an instance of JSX::Transformer for transforming JSX
  • JSX.transform_options are initialization options for Transformer
  • feature: allow custom JSX files by passing asset_path: config (or even overriding Transformer#jsx_transform_code 😬 )

@rmosolgo
Copy link
Member Author

I added that clear_sprockets_cache helper to the tests, one of these days I'll go through and weed out all the different ways that the cache is cleared and replace them with that helper

rmosolgo pushed a commit that referenced this pull request May 28, 2015
refactor(JSX::Transformer) use Transformer class; allow asset_path config
@rmosolgo rmosolgo merged commit 1c03b00 into reactjs:master May 28, 2015
@rmosolgo rmosolgo deleted the jsx-refactor branch May 28, 2015 22:21
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