Created
September 10, 2018 08:56
-
-
Save valscion/d78730ae2a1f6925edbb27f94392f1f8 to your computer and use it in GitHub Desktop.
Ilmoita muu tilanne
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
Ilmoita muu tilanne | |
Start* | |
option1 -> Saving | |
option2 -> Saving | |
option3 -> Saving | |
option4 -> Muu tilanne | |
Saving | |
success -> Success | |
failure -> Failed | |
Failed | |
retry -> Start | |
Success | |
Muu tilanne | |
StartOther* | |
option1 -> SavingOther | |
backToStart -> Ilmoita muu tilanne | |
SavingOther | |
success -> SuccessOther | |
failure -> FailedOther | |
FailedOther | |
SuccessOther |
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