JavaScript有限状态机实现方式

阮一峰博客

http://www.ruanyifeng.com/blog/2013/09/finite-state_machine_for_javascript.html

 

开源实现库(javascript-state-machine):

https://github.com/jakesgordon/javascript-state-machine

posted @ 2017-02-05 11:37  欧欧欧锋_  阅读(515)  评论(0编辑  收藏  举报