Sha256: 295a06869f74d46b667d4c326412cb818cb3a0f44647665314aaeaa181c08dc8

Contents?: true

Size: 579 Bytes

Versions: 12

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

require 'phlex-rails'

module Proscenium
  class Phlex < ::Phlex::HTML
    extend ActiveSupport::Autoload

    autoload :CssModules
    autoload :ReactComponent
    autoload :AssetInclusions

    include Proscenium::SourcePath
    include CssModules

    module Sideload
      def before_template
        Proscenium::SideLoad.sideload_inheritance_chain self

        super
      end
    end

    class << self
      attr_accessor :abstract_class

      def inherited(child)
        child.prepend Sideload

        super
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
proscenium-0.14.0-x86_64-linux lib/proscenium/phlex.rb
proscenium-0.14.0-aarch64-linux lib/proscenium/phlex.rb
proscenium-0.14.0-arm64-darwin lib/proscenium/phlex.rb
proscenium-0.14.0-x86_64-darwin lib/proscenium/phlex.rb
proscenium-0.13.0-x86_64-linux lib/proscenium/phlex.rb
proscenium-0.13.0-aarch64-linux lib/proscenium/phlex.rb
proscenium-0.13.0-arm64-darwin lib/proscenium/phlex.rb
proscenium-0.13.0-x86_64-darwin lib/proscenium/phlex.rb
proscenium-0.12.0-x86_64-linux lib/proscenium/phlex.rb
proscenium-0.12.0-aarch64-linux lib/proscenium/phlex.rb
proscenium-0.12.0-arm64-darwin lib/proscenium/phlex.rb
proscenium-0.12.0-x86_64-darwin lib/proscenium/phlex.rb