initialize

in lib/react/jsx/jsx_transformer.rb [6:19]


      def initialize(options)
        @transform_options = {
          stripTypes: options.fetch(:strip_types, false),
          harmony:    options.fetch(:harmony, false)
        }

        @asset_path = options.fetch(:asset_path, DEFAULT_ASSET_PATH)

        
        
        js_code = 'var global = global || this;' + jsx_transform_code
        @context = ExecJS.compile(js_code)
      end