Split the state machine into state, state_machine, history, and command.
* Pull out core state machine code from the original state_machine.js. * Update code and tests for use in new state machine. * Add new state_machine core. * Add history. * Add command. * Update tests. * Rename resources/state_machine to resources/state This should simplify a lot of these "cancel email verification" problems.
Showing
- resources/static/dialog/controllers/authenticate.js 1 addition, 0 deletionsresources/static/dialog/controllers/authenticate.js
- resources/static/dialog/controllers/dialog.js 1 addition, 1 deletionresources/static/dialog/controllers/dialog.js
- resources/static/dialog/resources/state.js 21 additions, 89 deletionsresources/static/dialog/resources/state.js
- resources/static/shared/command.js 30 additions, 0 deletionsresources/static/shared/command.js
- resources/static/shared/history.js 47 additions, 0 deletionsresources/static/shared/history.js
- resources/static/shared/state_machine.js 73 additions, 0 deletionsresources/static/shared/state_machine.js
- resources/static/test/cases/controllers/authenticate.js 1 addition, 1 deletionresources/static/test/cases/controllers/authenticate.js
- resources/static/test/cases/resources/state.js 12 additions, 6 deletionsresources/static/test/cases/resources/state.js
- resources/static/test/cases/shared/class.js 2 additions, 0 deletionsresources/static/test/cases/shared/class.js
- resources/static/test/cases/shared/command.js 48 additions, 0 deletionsresources/static/test/cases/shared/command.js
- resources/static/test/cases/shared/history.js 62 additions, 0 deletionsresources/static/test/cases/shared/history.js
- resources/static/test/cases/shared/state_machine.js 96 additions, 0 deletionsresources/static/test/cases/shared/state_machine.js
- resources/views/dialog_layout.ejs 4 additions, 1 deletionresources/views/dialog_layout.ejs
- resources/views/test.ejs 9 additions, 3 deletionsresources/views/test.ejs
- scripts/compress.sh 1 addition, 2 deletionsscripts/compress.sh
Loading
Please register or sign in to comment