Skip to content

Remove recursively calling goto when nextState not found and return false when state not found#7

Open
HDykins wants to merge 1 commit into
masterfrom
remove-goto-recursive
Open

Remove recursively calling goto when nextState not found and return false when state not found#7
HDykins wants to merge 1 commit into
masterfrom
remove-goto-recursive

Conversation

@HDykins
Copy link
Copy Markdown
Contributor

@HDykins HDykins commented Oct 16, 2019

I was writing the readme and i couldn't find a reason to include this part? Why is goto calling itself if there are no animations, is it retrying to run the function?

Also think it makes sense to return false rather than true if nextState doesn't exist

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

Successfully merging this pull request may close these issues.

1 participant