lib/react/jsx.rb in react-rails-1.2.0 vs lib/react/jsx.rb in react-rails-1.3.0
- old
+ new
@@ -7,10 +7,10 @@
module React
module JSX
DEFAULT_TRANSFORMER = BabelTransformer
mattr_accessor :transform_options, :transformer_class, :transformer
- # You can assign `React::JSX.transformer_class = `
+ # You can assign `config.react.jsx_transformer_class = `
# to provide your own transformer. It must implement:
# - #initialize(options)
# - #transform(code) => new code
self.transformer_class = DEFAULT_TRANSFORMER