Closed bredele closed 7 years ago
It would be great to pass a function in the constructor to state the initial state:
mood(fn, transitions) function fn() { // do something return 'initial' }
It would be great to pass a function in the constructor to state the initial state: