Skip to content

Instantly share code, notes, and snippets.

@renovatorruler
Last active January 7, 2022 21:51
Show Gist options
  • Save renovatorruler/d534be8ff85db573d4537d6c301e49a8 to your computer and use it in GitHub Desktop.
Save renovatorruler/d534be8ff85db573d4537d6c301e49a8 to your computer and use it in GitHub Desktop.
Gunner UI Home*
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
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