Sha256: 4d40d94dced5e7955993d94b9f195bc77e15c380830ca95a5d0c3fdf5b464f67
Contents?: true
Size: 1.42 KB
Versions: 5
Compression:
Stored size: 1.42 KB
Contents
# frozen_string_literal: true require "pakyow/framework" require "pakyow/assets/asset" require "pakyow/assets/pack" require "pakyow/assets/behavior/config" require "pakyow/assets/behavior/assets" require "pakyow/assets/behavior/packs" require "pakyow/assets/behavior/silencing" require "pakyow/assets/behavior/externals" require "pakyow/assets/behavior/watching" require "pakyow/assets/behavior/prelaunching" require "pakyow/assets/behavior/processing" require "pakyow/assets/behavior/rendering/install_assets" module Pakyow module Assets class Framework < Pakyow::Framework(:assets) def boot object.class_eval do # Let other frameworks load their own assets. # stateful :asset, Asset # Let other frameworks load their own asset packs. # stateful :pack, Pack include Behavior::Config include Behavior::Assets include Behavior::Packs include Behavior::Silencing include Behavior::Externals include Behavior::Watching include Behavior::Prelaunching include Behavior::Processing after "load" do isolated(:Renderer) do # Load this one later, in case other actions define components that will load assets. # include Assets::Behavior::Rendering::InstallAssets end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems