Skip to content

Instantly share code, notes, and snippets.

@otherjoel
Last active February 28, 2019 23:00
Show Gist options
  • Save otherjoel/025343e32a536d754bde242eeb8f2586 to your computer and use it in GitHub Desktop.
Save otherjoel/025343e32a536d754bde242eeb8f2586 to your computer and use it in GitHub Desktop.
Not Authenticated
Not Authenticated
Log In*
authenticate -> Authenticated
Authenticated
Reservation Display*
log out -> Log In
enter reservation -> Reservation Display
enter message -> Reservation Display
click own reservation -> Edit Reservation
Edit Reservation
cancel -> Reservation Display
delete -> Reservation Display
save -> Reservation Display
Message History
done -> Reservation Display
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