Last active
February 8, 2019 00:02
-
-
Save cab404/255b358755cc6281cfda90902b420d7b to your computer and use it in GitHub Desktop.
Registration
This file contains hidden or 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
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 |
This file contains hidden or 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