You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varinitial=(typeofcfg.initial=='string') ? {state: cfg.initial} : cfg.initial;// allow for a simple string, or an object with { state: 'foo', event: 'setup', defer: true|false }
fsm.error=cfg.error||function(name,from,to,args,error,msg){throwmsg;};// default behavior when something unexpected happens is to throw an exception, but caller can override this behavior if desired (see github issue #3)
0 commit comments