Skip to content

Instantly share code, notes, and snippets.

@tmbtech
Last active August 9, 2018 22:12
Show Gist options
  • Select an option

  • Save tmbtech/0d0fc88d353e4d91b9eac9fb006ea8cb to your computer and use it in GitHub Desktop.

Select an option

Save tmbtech/0d0fc88d353e4d91b9eac9fb006ea8cb to your computer and use it in GitHub Desktop.
Login
Login
idle
INVALIDFORM -> invalidForm
VALIDFORM -> gigyaRequest
invalidForm
INVALIDFORM ->invalidForm
VALIDFORM -> gigyaRequest
gigyaRequest
SERVERERROR -> serverError
INVALIDREQUEST -> invalidForm
SUCCESS -> tokenSwap
tokenSwap
SERVERERROR -> serverError
INVALIDREQUEST -> serverError
SUCCESS -> success
serverError
INVALID -> invalidForm
VALIDFORM -> gigyaRequest
success
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