Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter before filter isn't called on initial state. #43

Open
ghost opened this issue Aug 13, 2013 · 1 comment
Open

Enter before filter isn't called on initial state. #43

ghost opened this issue Aug 13, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 13, 2013

initial :first

state :first do
  enter :foo
end

In the above snippet the #foo method won't be called. I don't mind adding this case, but I'd just appreciate some advice on where you think it should be put. Seems there are a couple of places it could go.

@ryanza
Copy link
Owner

ryanza commented Aug 13, 2013

Yeah you're right. It was by design but doesn't really make sense. Ill think about it a bit more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant