Skip to content

Instantly share code, notes, and snippets.

@matb33
Created June 13, 2019 14:01
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 matb33/5f546883e174f62d294fe92e3e2ce0fb to your computer and use it in GitHub Desktop.
Save matb33/5f546883e174f62d294fe92e3e2ce0fb to your computer and use it in GitHub Desktop.
Intro
Intro
next -> Terms
Terms
back -> Intro
accepted -> EULA
Accept Dialog 1
Display 1*
accept -> Accepted 1
Accepted 1
# <- accepted
EULA
back -> Terms
accepted -> Home
Accept Dialog 2
Display 2*
accept -> Accepted 2
Accepted 2
# <- accepted
Home
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