Last active
January 7, 2022 21:51
-
-
Save renovatorruler/d534be8ff85db573d4537d6c301e49a8 to your computer and use it in GitHub Desktop.
Gunner UI Home*
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
Gunner UI Home* | |
loggedout -> Guest View | |
loggedin -> LoggedIn View | |
Guest View | |
Login* | |
goto-signup -> Signup | |
login -> LoggedIn View | |
Signup | |
goto-login -> Login | |
signup -> LoggedIn View | |
LoggedIn View | |
logout -> Guest View | |
Feed View | |
create gunn -> Compose View | |
Compose View | |
shoot it -> Feed View |
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