vstirbu/fsm-as-promised

enhancement: support camelCase callback names.

tech-a-go-go opened this issue · 2 comments

Hi there,

Could you please support camel case for the name of callbacks like javascript-state-machine does ?
https://github.com/jakesgordon/javascript-state-machine/blob/e09614a51f2a64724bb151da6462bcb34fdb9883/docs/lifecycle-events.md

Cheers

Would setting the callback prefix to an empty string StateMachine.callbackPrefix = '' be a solution for you?

Hi vstirbu,

I will give it a try.

Thanks !