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

Getting config doesn't work #1

Closed
dmitriyzhirma opened this issue Jun 21, 2016 · 1 comment
Closed

Getting config doesn't work #1

dmitriyzhirma opened this issue Jun 21, 2016 · 1 comment
Labels

Comments

@dmitriyzhirma
Copy link

I'm trying to execute code from the example:

const config = Finity
  .configure()
    .initialState('state1')
  .getConfig();

const firstInstance = Finity.start(config);
const secondInstance = Finity.start(config);

The result is an error:

Finity.min.js:1 Uncaught Error: Initial state must be specified.
@nickuraltsev
Copy link
Owner

Thank you, it's much appreciated! The issue is fixed by #2. The fix will be included in v0.4.4.

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

No branches or pull requests

2 participants