lib/react/jsx/processor.rb in react-rails-2.7.1 vs lib/react/jsx/processor.rb in react-rails-3.0.0.rc.0
- old
+ new
@@ -1,10 +1,12 @@
+# frozen_string_literal: true
+
module React
module JSX
# A Sprockets 3+-compliant processor
class Processor
def self.call(input)
- JSX::transform(input[:data])
+ JSX.transform(input[:data])
end
end
end
end