Skip to content

Instantly share code, notes, and snippets.

@ixley
Created September 13, 2018 01:09
Show Gist options
  • Save ixley/b620b74ad1bde6118057fdfd294d2d48 to your computer and use it in GitHub Desktop.
Save ixley/b620b74ad1bde6118057fdfd294d2d48 to your computer and use it in GitHub Desktop.
HW app
HW app
HW Authenticated?
Yes -> HW Signed in
No* -> Sign in page
HW Signed in
Sign out -> HW Not signed in
HW Not signed in
Sign in -> HW Signed in
Create account -> Sign up page
HS app
Sign in page
Sign up page
Source?
HW -> HW Create Account
HS -> HS Create Account
HW Create Account
HS Create Account
HS Authenticated?
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