lib/pakyow/ui/framework.rb in pakyow-ui-1.0.0.rc5 vs lib/pakyow/ui/framework.rb in pakyow-ui-1.0.0
- old
+ new
@@ -2,17 +2,17 @@
require "concurrent/executor/thread_pool_executor"
require "pakyow/framework"
-require "pakyow/ui/helpers"
+require "pakyow/application/helpers/ui"
-require "pakyow/ui/behavior/recording"
-require "pakyow/ui/behavior/rendering"
-require "pakyow/ui/behavior/timeouts"
+require "pakyow/application/behavior/ui/recording"
+require "pakyow/application/behavior/ui/rendering"
+require "pakyow/application/behavior/ui/timeouts"
-require "pakyow/ui/behavior/rendering/install_transforms"
+require "pakyow/presenter/renderer/behavior/ui/install_transforms"
module Pakyow
module UI
class Framework < Pakyow::Framework(:ui)
# @api private
@@ -31,17 +31,17 @@
end
end
def boot
object.class_eval do
- register_helper :passive, Helpers
+ register_helper :passive, Application::Helpers::UI
- include Behavior::Recording
- include Behavior::Rendering
- include Behavior::Timeouts
+ include Application::Behavior::UI::Recording
+ include Application::Behavior::UI::Rendering
+ include Application::Behavior::UI::Timeouts
isolated :Renderer do
- include Behavior::Rendering::InstallTransforms
+ include Presenter::Renderer::Behavior::UI::InstallTransforms
end
prepend PresenterForContext
ui_renderer = Class.new(isolated(:Renderer)) do