Sha256: 88a015b43637bf2e00a6e0279e9d002ca6c44d37b1af0dc2d15f1a079a6e96c9

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

module React
  module Rails
    class Engine < ::Rails::Engine
      config.before_initialize do |app|
        # force autoloading? what?
        Sprockets::Engines
        Sprockets.register_engine '.jsx', React::JSX::Template
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
react-rails-0.4.1.0 lib/react/rails/engine.rb