Last active
February 7, 2023 15:54
-
-
Save devinhalladay/0d5e485b99d8b6b740c8366e8fee8a17 to your computer and use it in GitHub Desktop.
Resting*
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
Resting* | |
play -> Booting | |
always on -> Booting | |
Booting | |
2s delay -> Running | |
Running | |
stop -> Resting | |
code update -> Booting | |
error -> Booting | |
crash -> BSOD | |
BSOD | |
refresh -> Resting |
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