Experience-Monks / f1

A stateful ui library
MIT License
78 stars 5 forks source link

Better error handling for when a transition uses an undefined state #11

Open mikkoh opened 8 years ago

mikkoh commented 8 years ago

Currently f1 does not catch in createTransitions that a state is used in transitions in from or to that doesn't exist in states. Add in throwing an error when this happens.