reactjs/react-rails — pull request #136 by rmosolgo (2014-12-23 20:33:30+00:00)
Title: feat(React::JSX): add JSX.transform_options

I want the feature from #107 :)

Now you can say in `application.rb`:

```ruby
config.react.jsx_transform_options = {harmony: true}
```

And you'll get es6 features in your `.jsx` assets. What do you think about this implementation?

- Take a config
- Assign it to a module variable
- Use that when rendering with `React::JSX::Template`

I had to change the requires in the dummy `application.js` so that the ES6 file wouldn't wreck other tests.

I've used it with a test component in my app and it works!