Skip to content

Instantly share code, notes, and snippets.

@cab404
Last active February 8, 2019 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cab404/255b358755cc6281cfda90902b420d7b to your computer and use it in GitHub Desktop.
Save cab404/255b358755cc6281cfda90902b420d7b to your computer and use it in GitHub Desktop.
Registration
Registration
Enter name -> Hub
Hub
Rate people -> Tinder
Edit profile -> Profile editor
Hub pages
Profile editor
Set name -> Name setter
Set photo -> Photo setter
Set bio -> Bio setter
Destroy data -> Destroy dialog
Tinder
Next -> Tinder
Y YY NN -> Tinder
Back to hub -> Hub
Destroy dialog
Yes -> Registration
No -> Profile editor
Profile editor pages
Name setter
Photo setter
Bio setter
Back -> Profile editor
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