Sha256: d1a6a1d70e098e0cd3e63d797df79d5b264914fcc9f66e8f331ac9c6627012e5

Contents?: true

Size: 869 Bytes

Versions: 3

Compression:

Stored size: 869 Bytes

Contents

require_relative 'helpers'
require_relative 'ui'
require_relative 'mutator'
require_relative 'mutation_set'
require_relative 'mutable'
require_relative 'mutate_context'
require_relative 'ui_view'
require_relative 'channel_builder'
require_relative 'fetch_view_handler'
require_relative 'mutation_store'
require_relative 'registries/simple_mutation_registry'
require_relative 'registries/redis_mutation_registry'
require_relative 'config'
require_relative 'ui_component'
require_relative 'ui_instructable'

require_relative 'ext/app'
require_relative 'ext/app_context'
require_relative 'ext/view_context'

Pakyow::App.before :init do
  @ui = Pakyow::UI::UI.new
end

Pakyow::App.after :load do
  @ui.load(mutators, mutables)
end

Pakyow::App.before :route do
  # setup a new ui context to work in
  #
  ui_dup = @ui.dup
  ui_dup.context = self
  @context.ui = ui_dup
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pakyow-ui-0.10.2 pakyow-ui/lib/pakyow-ui/base.rb
pakyow-ui-0.10.1 pakyow-ui/lib/pakyow-ui/base.rb
pakyow-ui-0.10.0 pakyow-ui/lib/pakyow-ui/base.rb