lib/react/jsx.rb in react-rails-2.7.1 vs lib/react/jsx.rb in react-rails-3.0.0.rc.0
- old
+ new
@@ -1,11 +1,13 @@
-require 'execjs'
-require 'react/jsx/processor'
-require 'react/jsx/template'
-require 'react/jsx/jsx_transformer'
-require 'react/jsx/babel_transformer'
-require 'react/jsx/sprockets_strategy'
-require 'rails'
+# frozen_string_literal: true
+
+require "execjs"
+require "react/jsx/processor"
+require "react/jsx/template"
+require "react/jsx/jsx_transformer"
+require "react/jsx/babel_transformer"
+require "react/jsx/sprockets_strategy"
+require "rails"
module React
module JSX
DEFAULT_TRANSFORMER = BabelTransformer
mattr_accessor :transform_options, :transformer_class, :transformer