Sha256: 742948e371ce81104bf115f919f804844f0cae6217052d8e55828f06ef01aa62

Contents?: true

Size: 710 Bytes

Versions: 41

Compression:

Stored size: 710 Bytes

Contents

controller :my_controller do
  spots "hello", "world"

  on_entry %{
    my_action_entered_count = 0;
  }

  action :my_action do
    on_entry %{
      Embed("my_controller2", "hello", {});
      my_action_entered_count += 1;
    }

    on "test_event", %{
      Push("my_other_action")
    }
  end

  action :my_other_action do
    on_entry %{
      Embed("my_controller3", "hello", {});
      my_other_action_on_entry_called = true;
    }

    on "back", %{
      Pop();
    }
  end
end

controller :my_controller2 do
  action :my_action do
    on_entry %{
    }
  end
end

controller :my_controller3 do
  action :my_action do
    on_entry %{
      my_controller3_main_view_bp = __base__+1;
    }
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/push_pop.rb
flok-0.0.103 spec/kern/assets/push_pop.rb
flok-0.0.102 spec/kern/assets/push_pop.rb
flok-0.0.101 spec/kern/assets/push_pop.rb
flok-0.0.100 spec/kern/assets/push_pop.rb
flok-0.0.99 spec/kern/assets/push_pop.rb
flok-0.0.98 spec/kern/assets/push_pop.rb
flok-0.0.97 spec/kern/assets/push_pop.rb
flok-0.0.96 spec/kern/assets/push_pop.rb
flok-0.0.95 spec/kern/assets/push_pop.rb
flok-0.0.94 spec/kern/assets/push_pop.rb
flok-0.0.93 spec/kern/assets/push_pop.rb
flok-0.0.92 spec/kern/assets/push_pop.rb
flok-0.0.91 spec/kern/assets/push_pop.rb
flok-0.0.90 spec/kern/assets/push_pop.rb
flok-0.0.89 spec/kern/assets/push_pop.rb
flok-0.0.88 spec/kern/assets/push_pop.rb
flok-0.0.87 spec/kern/assets/push_pop.rb
flok-0.0.86 spec/kern/assets/push_pop.rb
flok-0.0.85 spec/kern/assets/push_pop.rb