Last active
November 15, 2019 07:48
-
-
Save swissmanu/a5ee9045ba70aa108dbd13b80b64a1d6 to your computer and use it in GitHub Desktop.
Editable Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Editable Page | |
Error | |
Reset -> View | |
View* | |
Read | |
Change Data -> WaitForEdit | |
Request Edit -> WaitForEdit | |
WaitForEdit | |
Ready -> Edit | |
Error -> Error | |
Edit | |
Cancel -> WaitForView | |
Prestine | |
Change Data -> Dirty | |
Dirty | |
Change Data -> Dirty | |
Submit -> WaitForView | |
WaitForView | |
Finished -> View | |
Error -> Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment