Skip to content

Instantly share code, notes, and snippets.

@yonkeltron
Created March 20, 2019 16:30
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 yonkeltron/d1999e11cc66570ece09f63c1aa81750 to your computer and use it in GitHub Desktop.
Save yonkeltron/d1999e11cc66570ece09f63c1aa81750 to your computer and use it in GitHub Desktop.
Propane
Propane
Idle*
configure -> Configuring
help -> Help
Configuring
Updating Packages
finished -> Configuring Certificates
failed -> Logging Error
Configuring Certificates
finished -> Indicating Success
failed -> Logging Error
Help
finished -> Idle
failed -> Panic
Logging Error
finished -> Idle
failed -> Panic
Indicating Success
finished -> Idle
failed -> Panic
Panic
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