Sha256: 9bb65ce2908f17ea863e2fd21ecfa0b999602e95f785129df61780c10029b4bb
Contents?: true
Size: 964 Bytes
Versions: 20
Compression:
Stored size: 964 Bytes
Contents
# frozen_string_literal: true require 'phlex-rails' module Proscenium class Phlex < ::Phlex::HTML extend ActiveSupport::Autoload autoload :CssModules autoload :ReactComponent extend ::Phlex::Rails::HelperMacros include ::Phlex::Rails::Helpers::JavaScriptIncludeTag include ::Phlex::Rails::Helpers::StyleSheetLinkTag include Proscenium::SourcePath include CssModules define_output_helper :side_load_stylesheets # deprecated define_output_helper :include_stylesheets define_output_helper :side_load_javascripts # deprecated define_output_helper :include_javascripts define_output_helper :declare_lazy_scripts 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
20 entries across 20 versions & 1 rubygems